class documentation

class CompletionCallback(ABC, Generic[OutputT]): (source)

Known subclasses: temporalio.nexus._notification._OnCompleteCallback

View In Hierarchy

Callback that reports the outcome of a Nexus operation.

The type parameter is the output type that the callback accepts. Create callbacks with create_completion_callback. Do not subclass this class.

Warning

This API is experimental and unstable.

Async Method _to_proto Convert to proto representation.
@abstractmethod
async def _to_proto(self, data_converter: temporalio.converter.DataConverter) -> temporalio.api.common.v1.Callback: (source) ΒΆ

Convert to proto representation.