Result Eager Effect Scope
value class ResultEagerEffectScope(cont: EagerEffectScope<Throwable>) : EagerEffectScope<Throwable>
Content copied to clipboard
Functions
Link copied to clipboard
Runs the EagerEffect to finish, returning B or shift in case of R.
open suspend fun <B> <ERROR CLASS><B>.bind(transform: (Throwable) -> Throwable): B
Content copied to clipboard
Folds Result into EagerEffect, by returning B or a transforming Throwable into R and shifting the result.
Folds Option into EagerEffect, by returning B or a transforming None into R and shifting the result.