doWhile

fun <A> doWhile(f: suspend (A) -> Boolean): Schedule<A, A>(source)

Creates a Schedule that continues as long as f returns true.