opensavvy.state.arrow¶
Helpers to convert outcomes to other Arrow data types, support for the Raise DSL.
Types¶
OutcomeDsl¶
ProgressiveOutcomeDsl¶
@JvmInline
value class ProgressiveOutcomeDsl<Failure>(raise: Raise<ProgressiveOutcome.Unsuccessful<Failure>>) : Raise<Failure>
Functions¶
progressive¶
inline fun <Failure, Value> progressive(block: ProgressiveOutcomeDsl<Failure>.() -> Value): ProgressiveOutcome<Failure, Value>
Arrow-style DSL to execute a Raise-based computation to generate a ProgressiveOutcome.
toEither¶
Converts a ProgressiveOutcome into a typed Either.