Skip to main content

Module cancel

Module cancel 

Source
Expand description

Cooperative cancellation of spawned work.

Structs§

CancelOnDrop
Cancels execution on drop and supports cooperative finalization.
ManualCancel
A marker that can be used to cancel execution.

Functions§

is_cancelled
Returns true if the work running on the current thread was cancelled.