invoke

operator fun <S, A, B> invoke(initial: suspend () -> S, update: suspend (input: A, state: S) -> Schedule.Decision<S, B>): Schedule<A, B>(source)

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.