temporalio.worker.ActivityInboundInterceptor

class documentation

Inbound interceptor to wrap outbound creation and activity execution.

This should be extended by any activity inbound interceptors.

Method __init__ Create the inbound interceptor.
Async Method execute_activity Called to invoke the activity.
Method init Initialize with an outbound interceptor.
Instance Variable next Undocumented

Create the inbound interceptor.

Parameters
next:ActivityInboundInterceptorThe next interceptor in the chain. The default implementation of all calls is to delegate to the next interceptor.

Called to invoke the activity.

Initialize with an outbound interceptor.

To add a custom outbound interceptor, wrap the given interceptor before sending to the next init call.