class documentation
class NexusOperationInboundInterceptor: (source)
Known subclasses: temporalio.contrib.opentelemetry._TracingNexusOperationInboundInterceptor
Constructor: NexusOperationInboundInterceptor(next)
Inbound interceptor to wrap Nexus operation starting and cancelling.
This should be extended by any Nexus operation inbound interceptors.
| Method | __init__ |
Create the inbound interceptor. |
| Async Method | execute |
Called to cancel an in progress Nexus operation |
| Async Method | execute |
Called to start a Nexus operation |
| Instance Variable | next |
Undocumented |
Create the inbound interceptor.
| Parameters | |
next:NexusOperationInboundInterceptor | The next interceptor in the chain. The default implementation of all calls is to delegate to the next interceptor. |
async def execute_nexus_operation_start(self, input:
ExecuteNexusOperationStartInput) -> nexusrpc.handler.StartOperationResultSync[ Any] | nexusrpc.handler.StartOperationResultAsync:
(source)
¶
Called to start a Nexus operation