arrow-fx-coroutines / arrow.fx.coroutines / arrow.core.Either / fold

fold

fun <A, B, C> Either<Pair<A, Fiber<B>>, Pair<Fiber<A>, B>>.~~fold~~(ifLeft: (A, Fiber<B>) -> C, ifRight: (Fiber<A>, B) -> C): C Deprecated: Will be removed since it leaks Fiber, and breaks structured concurrency. Replace with select

Do you like Arrow?

Arrow Org
<