Success
Properties
Functions
Link copied to clipboard
Link copied to clipboard
inline suspend fun <T> Outcome<T>.mapFailure(transform: suspend (Outcome.Failure) -> Outcome.Failure): Outcome<T>
Link copied to clipboard
inline suspend fun <T> Outcome<T>.recoverCatching(recoverBlock: suspend (Outcome.Failure) -> T): Outcome<T>
Recovers from a Failure by applying the recoverBlock function, catching any exceptions.