async_flag

Function async_flag 

Source
pub fn async_flag() -> (AsyncFlag, AsyncSubscribe)
Available on crate features alloc and futures only.
Expand description

Creates a new pair of AsyncFlag and AsyncSubscribe