doUntil

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

Creates a Schedule that continues until predicate returns true.