FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ISchedulerPeriodic

    trait · ferroui-reactive · v0.5.0

    trait ISchedulerPeriodic
    

    Schedules periodic work (ISchedulerPeriodic).

    View source

    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).

    Source

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.