Skip to main content

Module sync

Module sync 

Source
Expand description

Runtime-independent lifecycle primitives. Default async builds retain Tokio’s primitives; thread-only builds use std synchronization and removable wakers.

Modules§

watch
A multi-producer, multi-consumer channel that only retains the last sent value.

Structs§

CancellationToken
A token which can be used to signal a cancellation request to one or more tasks.