temporalio.worker.ActivityOutboundInterceptor

class documentation

class ActivityOutboundInterceptor: (source)

Known subclasses: temporalio.worker._activity._ActivityOutboundImpl

Constructor: ActivityOutboundInterceptor(next)

View In Hierarchy

Outbound interceptor to wrap calls made from within activities.

This should be extended by any activity outbound interceptors.

Method __init__ Create the outbound interceptor.
Method heartbeat Called for every temporalio.activity.heartbeat call.
Method info Called for every temporalio.activity.info call.
Instance Variable next Undocumented

def __init__(self, next: ActivityOutboundInterceptor): (source)

Create the outbound interceptor.

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

def heartbeat(self, *details: Any): (source)

Undocumented