temporalio.workflow.MethodSyncOrAsyncNoParam
class documentation

class MethodSyncOrAsyncNoParam(Protocol[ProtocolSelfType, ProtocolReturnType]): (source)

View In Hierarchy

Generic callable type.

def __call__(self, __self: ProtocolSelfType) -> ProtocolReturnType | Awaitable[ProtocolReturnType]: (source)

Generic callable type callback.