arrow-fx / arrow.fx / Schedule / invoke

invoke

operator fun <F, S, A, B> invoke(M: Monad<F>, initial: Kind<F, S>, update: (a: A, s: S) -> Kind<F, Decision<S, B>>): Schedule<F, A, B>

Invoke constructor to manually define a schedule. If you need this, please consider adding it to arrow or suggest a change to avoid using this manual method.

Do you like Arrow?

Arrow Org
<