module documentation

Undocumented

Class WorkflowRunOperationHandler Operation handler for Nexus operations that start a workflow.
Async Function _cancel_workflow Cancel a workflow that is backing a Nexus operation.
async def _cancel_workflow(token: str, **kwargs: Any): (source) ΒΆ

Cancel a workflow that is backing a Nexus operation.

This function is used by the Nexus worker to cancel a workflow that is backing a Nexus operation, i.e. started by a temporalio.nexus.workflow_run_operation-decorated method.

Parameters
token:strThe token of the workflow to cancel. kwargs: Additional keyword arguments
to pass to the workflow cancel method.
**kwargs:AnyUndocumented