arrow-fx / arrow.fx / Schedule / choose
abstract infix fun <A, B> choose(other: Schedule<F, A, B>): Schedule<F, Either<Input, A>, Either<Output, B>>
Combine two schedules with different input and output and conditionally choose between the two. Continues when the chosen schedule continues and uses the chosen schedules delay.
Do you like Arrow?
✖