//arrow-fx-coroutines/arrow.fx.coroutines/Schedule/choose

choose

common abstract infix fun <A, B> choose(other: Schedule<A, B>): Schedule<Either<Input, A>, Either<Output, B»

Combines 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?

Arrow Org
<