CurrentThreadScheduler
struct · ferroui-reactive · v0.5.0
struct CurrentThreadScheduler
Queues work on the current thread (CurrentThreadScheduler): the first work runs at once, and
work scheduled while it runs is queued and runs after it, by due time and then in the order it
was scheduled (the trampoline). Delayed work blocks the thread until it is due.
Members
instance
fn instance() -> Rc<dyn IScheduler>
The scheduler (CurrentThreadScheduler.Instance).
is_schedule_required
fn is_schedule_required() -> bool
Whether the caller has to schedule its work to keep the order of the trampoline: true when
no work of the scheduler is running on the thread (IsScheduleRequired).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyIScheduler
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.