doWhile

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

Create a Schedule that continues while predicate returns true.