Package com.skydoves.retrofit.adapters.arrow

Types

Link copied to clipboard
class EitherCallAdapterFactory : CallAdapter.Factory

Functions

Link copied to clipboard
inline suspend fun <A, B, C> Either<A, B>.foldSuspend(crossinline ifLeft: suspend (A) -> C, crossinline ifRight: suspend (B) -> C): C
Link copied to clipboard
inline suspend fun <A, B, C> Either<A, B>.onLeftSuspend(crossinline onLeft: suspend (A) -> C): Either<A, B>
Link copied to clipboard
inline suspend fun <A, B, C> Either<A, B>.onRightSuspend(crossinline onRight: suspend (B) -> C): Either<A, B>