public
Loop
— parametric type
Loop{T<:AbstractSchedule, S<:Integer} <: AbstractSchedule
Loop(;f, period)
Create a schedule that loops f
every period
iterations.
Note that f
must be a subtype of AbstractSchedule
.
To loop arbitrary functions, wrap them in Lambda
.
Arguments
f::AbstractSchedule
: the schedule to loopperiod::Integer
: how often to loop