whileInput

fun <A : Input> whileInput(f: suspend (A) -> Boolean): Schedule<A, Output>(source)

Continues or stops the schedule based on the input.