Skip to content

opensavvy.state.arrow

Helpers to convert outcomes to other Arrow data types, support for the Raise DSL.

Types

OutcomeDsl

@JvmInline
value class OutcomeDsl<Failure>(raise: Raise<Failure>) : Raise<Failure> 

ProgressiveOutcomeDsl

Functions

progressive

Arrow-style DSL to execute a Raise-based computation to generate a ProgressiveOutcome.

toEither

Converts an Outcome into a typed Either.

toOutcome

Converts an Either into a ProgressiveOutcome.