arrow-fx / arrow.fx / RacePair
sealed class ~~RacePair~~<F, A, B>
Deprecated: The IO datatype and it’s related type classes will disappear in Arrow 0.13.0. All useful operations are offered directly over suspend functions by Arrow Fx Coroutines. https://arrow-kt.io/docs/fx/async/
Alias for Either
structure to provide consistent signature for race methods.
First | data class First<F, A, B> : RacePair <F, A, B> |
Second | data class Second<F, A, B> : RacePair <F, A, B> |
fold | fun <C> fold(ifA: (A, Fiber <F, B>) -> C, ifB: ( Fiber <F, A>, B) -> C): C |
Do you like Arrow?
✖