private Stateful — parametric type
Stateful{T, S}
Stateful(schedule::T; advance = state -> true)
Create a stateful iterator around schedule.
Pass in a predicate, advance(state), to conditionally control iteration.
See also ParameterSchedulers.next! and ParameterSchedulers.reset!.