fold

fun <C> fold(initial: C, f: suspend (acc: C, output: Output) -> C): Schedule<Input, C>(source)

Non-effectful version of foldM.