nautilus_common::testing

Function wait_until_async

Source
pub async fn wait_until_async<F, Fut>(condition: F, timeout: Duration)
where F: FnMut() -> Fut, Fut: Future<Output = bool>,