IorEffectScope
class IorEffectScope<E>(semigroup: Semigroup<E>, effect: EffectScope<E>) : EffectScope<E> , Semigroup<E> (source)
Constructors
Functions
Link copied to clipboard
Runs the EagerEffect to finish, returning B or shift in case of R, bridging eager computations into suspending.
Link copied to clipboard
Extensions
Link copied to clipboard
Ensure that value is not null
. if it's non-null it will be smart-casted and returned if it's false
it will shift
with the provided value R. Monadic version of kotlin.requireNotNull.