conc-util 0.4.2

[no_std] utilities for concurrency and async
Documentation
1
2
3
4
5
6
7
8
#[cfg(feature = "alloc")]
mod onceevent;
#[cfg(feature = "alloc")]
pub use onceevent::OnceEvent;

pub trait Event where for<'a> &'a Self: Future {
    fn fire(&self);
}