Skip to main content

wait_for

Function wait_for 

Source
pub async fn wait_for<F>(condition: F, message: &str)
where F: Fn() -> bool,
Expand description

Wait for a condition with default timeout and poll interval

Uses a 1-second timeout and 1ms poll interval