waitFor

suspend fun waitFor(    timeout: Duration,     maxDelay: Long = 256,     lifetime: Lifetime = Lifetime.Eternal,     condition: suspend () -> Boolean): Boolean