invoke

open operator fun <A> EagerEffect<Error, A>.invoke(): A(source)

Invoke an EagerEffect inside this Raise context. Any logical failure is raised in this Raise context, and thus short-circuits the computation.

See also

if you want to attempt to recover from any logical failure.


open suspend operator fun <A> Effect<Error, A>.invoke(): A(source)

Invoke an Effect inside this Raise context. Any logical failure raised are raised in this Raise context, and thus short-circuits the computation.

See also

if you want to attempt to recover from any logical failure.