Skip to main content

Module cancel

Module cancel 

Source
Expand description

Cooperative cancellation: CancelHandle, CancelSignal and CancelOptions.

The handle requests cancellation and the signal, which can be cloned freely, observes it.

Structsยง

CancelHandle
Requests cancellation of the work observing its CancelSignal.
CancelOptions
Options for CancelHandle::cancel (CancelOptions).
CancelOptionsBuilder
Use builder syntax to set the inputs and finish with build().
CancelSignal
Observes cancellation requested through a CancelHandle.