Expand description
Fuzes are mechanisms to wait for a single signal which can be checked at any time.
This crate has an Async-std (default) and a Tokio implementation:
§Async-std
fuze = "3.0.0"
§Tokio
fuze = { version = "3.0.0", default-features = false, features = ["tokio"] }
Both implementations can co-exist (both features can be enabled at the same time) and the API is identical, but the top-level re-export will prefer the async-std version. Disabling both features will not compile.
Re-exports§
pub use crate::async_std::Fuze;
Modules§
- The async-std implementation of a Fuze.
- The Tokio implementation of a Fuze.