arrow-fx / arrow.fx.extensions.resource.selective / arrow.Kind / branch
@JvmName("branch") fun <F, E, A, B, C> Kind<Kind<Kind<
ForResource
, F>, E>, Either<A, B>>.~~branch~~(BR:
Bracket
<F, E>, arg1: Kind<Kind<Kind<
ForResource
, F>, E>, (A) -> C>, arg2: Kind<Kind<Kind<
ForResource
, F>, E>, (B) -> C>):
Resource
<F, E, C>
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/
Do you like Arrow?
✖