arrow-fx-coroutines / arrow.fx.coroutines / Schedule / check

check

abstract fun <A : Input> check(pred: suspend (input: A, output: Output) -> Boolean): Schedule<A, Output>

Conditionally checks on both the input and the output whether or not to continue.

Do you like Arrow?

Arrow Org
<