pollUntil
suspend fun pollUntil(interval: Duration, timeout: Duration, condition: suspend () -> Boolean): Boolean
Polls condition until it returns true or timeout elapses, and reports whether it became true.
The condition is checked once immediately, then again after every interval. A non-positive timeout still performs the immediate check.
Throws
when interval is not positive.