doWhile

fun <Input> doWhile(predicate: suspend (input: Input, output: Input) -> Boolean): Schedule<Input, Input>(source)

Create a Schedule that continues while predicate returns true.