class documentation
class AbstractHandler(ABC):
Known subclasses: nexusrpc.handler._core.BaseServiceCollectionHandler
Undocumented
Method | cancel |
Handle a Cancel Operation request. |
Method | fetch |
Handle a Fetch Operation Info request. |
Method | fetch |
Handle a Fetch Operation Result request. |
Method | start |
Undocumented |
@abstractmethod
def cancel_operation(self, ctx: CancelOperationContext
, token: str
) -> None | Awaitable[ None]
:
¶
overridden in
nexusrpc.handler.Handler
Handle a Cancel Operation request.
Parameters | |
ctx:CancelOperationContext | The operation context. |
token:str | The operation token. |
Returns | |
None | Awaitable[ | Undocumented |
@abstractmethod
def fetch_operation_info(self, ctx: FetchOperationInfoContext
, token: str
) -> OperationInfo | Awaitable[ OperationInfo]
:
¶
overridden in
nexusrpc.handler.Handler
Handle a Fetch Operation Info request.
Parameters | |
ctx:FetchOperationInfoContext | The operation context. |
token:str | The operation token. |
Returns | |
OperationInfo | Awaitable[ | Undocumented |
@abstractmethod
def fetch_operation_result(self, ctx: FetchOperationResultContext
, token: str
) -> Any | Awaitable[ Any]
:
¶
overridden in
nexusrpc.handler.Handler
Handle a Fetch Operation Result request.
Parameters | |
ctx:FetchOperationResultContext | The operation context. |
token:str | The operation token. |
Returns | |
Any | Awaitable[ | Undocumented |
@abstractmethod
def start_operation(self, ctx: StartOperationContext
, input: LazyValueT
) -> StartOperationResultSync[ Any] | StartOperationResultAsync | Awaitable[ StartOperationResultSync[ Any] | StartOperationResultAsync]
:
¶
overridden in
nexusrpc.handler.Handler
Undocumented