ISchedulerPeriodic
trait · ferroui-reactive · v0.5.0
trait ISchedulerPeriodic
Schedules periodic work (ISchedulerPeriodic).
Members
schedule_periodic
fn schedule_periodic(self: &Self, period: Duration, action: Box<dyn FnMut() -> ()>) -> Rc<dyn IDisposable>
Runs action every period, passing the state it returned the previous time
(SchedulePeriodic<TState>(TState, TimeSpan, Func<TState, TState>); the closure keeps the
state).
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.