toOutcome
Converts an Either into an Outcome.
The out DSL is also useful to work with Outcome in the Arrow world.
fun <Failure, Value> Either<Failure, Value>.toOutcome(progress: Progress = loading()): ProgressiveOutcome<Failure, Value>(source)
Converts an Either into a ProgressiveOutcome.
The out DSL is also useful to work with Outcome in the Arrow world.