OutcomeFetch

typealias OutcomeFetch<Ok, Error> = Flow<Fetch<Outcome<Ok, Error>>>

Alias for a flow that fetches an outcome result.

val outcome: OutcomeFetch<String, Int> = fetch {
// Return an Outcome from inside the Fetch runner
outcomeOf { 42 }
}

See also