kithara-platform 0.0.1-alpha5

Cross-platform primitives (sync, time, thread) for native and wasm32.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Propagate-down cancellation built on a `std`-only node tree.
//! Cancellation drains local wakers before recursively firing weak children.

mod group;
mod node;
mod scope;
mod token;
mod wait;

pub use group::CancelGroup;
pub use scope::CancelScope;
pub use token::{CancelToken, CancelWakerGuard};
pub use wait::Cancelled;