FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ImmediateScheduler

    struct · ferroui-reactive · v0.5.0

    struct ImmediateScheduler
    

    Runs work at once on the current thread (ImmediateScheduler). Delayed work blocks the thread for the delay. Work that the running work schedules on the scheduler it receives runs after it, in order (the trampoline of AsyncLockScheduler), so recursion does not grow the stack.

    View source

    Members

    instance

    fn instance() -> Rc<dyn IScheduler>
    

    The scheduler of the thread (ImmediateScheduler.Instance).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • IScheduler

    Availability

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