Skip to main content

wait_for_flag

Function wait_for_flag 

Source
pub async fn wait_for_flag(flag: &AtomicBool, max_wait: Duration) -> bool
Expand description

Wait for a boolean flag to become true