Option Eager Effect Scope
value class OptionEagerEffectScope(cont: EagerEffectScope<None>) : EagerEffectScope<None>
Content copied to clipboard
Functions
Link copied to clipboard
Folds Either into EagerEffect, by returning B or a shift with R.
Folds Validated into EagerEffect, by returning B or a shift with R.
Runs the EagerEffect to finish, returning B or shift in case of R.
open suspend fun <B> <ERROR CLASS><B>.bind(transform: (Throwable) -> None): 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.
Link copied to clipboard