Expand description
An asynchronously awaitable CancellationToken
.
The token allows to signal a cancellation request to one or more tasks.
Modulesยง
- guard ๐
- guard_
ref ๐ - tree_
node ๐ - This mod provides the logic for the inner tree structure of the
CancellationToken
.
Structsยง
- Cancellation
Token - A token which can be used to signal a cancellation request to one or more tasks.
- RunUntil
Cancelled ๐Future - A Future that is resolved once the corresponding
CancellationToken
is cancelled or a given Future gets resolved. It is biased towards the Future completion. - RunUntil
Cancelled ๐Future Owned - A Future that is resolved once the corresponding
CancellationToken
is cancelled or a given Future gets resolved. It is biased towards the Future completion. - Wait
ForCancellation Future - A Future that is resolved once the corresponding
CancellationToken
is cancelled. - Wait
ForCancellation Future Owned - A Future that is resolved once the corresponding
CancellationToken
is cancelled.