temporalio.worker.ActivityOutboundInterceptor
class documentation
class ActivityOutboundInterceptor: (source)
Known subclasses: temporalio.worker._activity._ActivityOutboundImpl
Constructor: ActivityOutboundInterceptor(next)
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)
¶
overridden in temporalio.worker._activity._ActivityOutboundImpl
Create the outbound interceptor.
| Parameters | |
next:ActivityOutboundInterceptor | The next interceptor in the chain. The default implementation of all calls is to delegate to the next interceptor. |
def heartbeat(self, *details: Any):
(source)
¶
overridden in temporalio.worker._activity._ActivityOutboundImpl
Called for every temporalio.activity.heartbeat call.
def info(self) -> temporalio.activity.Info:
(source)
¶
overridden in temporalio.worker._activity._ActivityOutboundImpl
Called for every temporalio.activity.info call.