arrow-fx-coroutines / arrow.fx.coroutines.stream / Pull / Result
sealed class Result<out R> :
Pull
<
Nothing
, R>, ViewL<
Nothing
, R>
Fail | data class Fail : Result< Nothing > |
Interrupted | Signals that Pull evaluation was interrupted.data class Interrupted<X> : Result< Nothing > |
Pure | data class Pure<R> : Result<R> |
asExitCase | fun asExitCase(): ExitCase |
map | fun <B> map(f: (R) -> B): Result<B> |
mapOutput | open fun <P> mapOutput(f: ( Nothing ) -> P): Pull <P, R> |
unit | val unit: Result< Unit > |
fromEither | fun <R> fromEither(either: Either< Throwable , R>): Result<R> |
Do you like Arrow?
✖