arrow-core-data / arrow.typeclasses / Monad / fx

fx

open val fx: MonadFx<F>

Entry point for monad bindings which enables for comprehension. The underlying implementation is based on coroutines. A coroutine is initiated and suspended inside MonadThrowContinuation yielding to Monad.flatMap. Once all the flatMap binds are completed the underlying monad is returned from the act of executing the coroutine

Do you like Arrow?

Arrow Org
<