arrow-fx / arrow.fx / Schedule / withMonad

withMonad

fun <M, Input, Output> withMonad(MM: Monad<M>, f: ScheduleFor<M>.() -> Schedule<M, Input, Output>): Schedule<M, Input, Output>

Build a schedule with functions that have the Monad already partially applied. Prefer this to the general combinators as soon as you create more than one schedule and combine it somehow.

Do you like Arrow?

Arrow Org
<