pub fn poll_until(wait: Duration, ready: impl FnMut() -> bool) -> bool
Poll ready every 100 ms until it holds (true) or wait elapses (false). Checks before the first sleep.
ready
true
wait
false