OutcomeScope

typealias OutcomeScope<Ok, Error> = RaiseScope<Error>.() -> Ok

Alias for a RaiseScope context runner used for Outcome.

If injecting lambdas into outcomeOf, consider using this as the lambda type to inherit the RaiseScope context for your own lambdas.