class documentation

class AbstractHandler(ABC):

Known subclasses: nexusrpc.handler._core.BaseServiceCollectionHandler

View In Hierarchy

Undocumented

Method cancel_operation Handle a Cancel Operation request.
Method start_operation Undocumented
@abstractmethod
def cancel_operation(self, ctx: CancelOperationContext, token: str) -> None | Awaitable[None]:

Handle a Cancel Operation request.

Parameters
ctx:CancelOperationContextThe operation context.
token:strThe operation token.
Returns
None | Awaitable[None]Undocumented
@abstractmethod
def start_operation(self, ctx: StartOperationContext, input: LazyValueT) -> StartOperationResultSync[Any] | StartOperationResultAsync | Awaitable[StartOperationResultSync[Any] | StartOperationResultAsync]:

Undocumented