Function await_flag

Source
pub(crate) fn await_flag(flag: &AtomicBool, duration: Duration) -> bool