Std.Concurrent.Cancel.Token
1 declaration
type
TokenA request to stop, which work checks between steps.
Stopping is cooperative: a running thread cannot be interrupted, so work asks stopped or check between steps and waits through pause, which returns as soon as the token fires. A child stops when any ancestor does; stopping a child leaves its parent running. The deadline is a reading of the monotonic clock, or NO_DEADLINE.
