Io module

engine_cancel

procedureextensionexperimentalsince 0.31.0Source

Asks the engine to end op early. The operation still completes, with the system's cancel error as its result, and only then does its fiber wake.

engine_cancel :: (scheduler: *Scheduler, op: *Op)

Parameters

scheduler: *Scheduler
op: *Op

See also