arrow-fx-coroutines / arrow.fx.coroutines / Schedule / invoke

invoke

operator fun <S, A, B> invoke(initial: suspend () -> S, update: suspend (input: A, state: S) -> Decision<S, B>): Schedule<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
<