foldLazy

abstract fun <C> foldLazy(initial: suspend () -> C, f: suspend (C, Output) -> C): Schedule<Input, C>

Accumulates the results of a schedule by folding over them effectfully.