Skip to content

AvaloniaScheduler class

Attributes: [DebuggerDisplay("{DebuggerDisplay,nq}")]

Defined in

Namespace: ReactiveUI.Primitives.Concurrency Assembly: ReactiveUI.Primitives.Avalonia.dll Full name: ReactiveUI.Primitives.Concurrency.AvaloniaScheduler Modifiers: public sealed

Summary

View source

Avalonia UI-thread scheduler that coalesces scheduled work onto a dispatcher drain.

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471

Class hierarchy
classDiagram
class AvaloniaScheduler
class ISequencer {
    <>
}
ISequencer <|.. AvaloniaScheduler

Implements: ISequencer

Constructors

NameSummary
.ctorInitializes a new instance of the [AvaloniaScheduler](# class.

Properties

NameSummary
DispatcherGets the dispatcher used to marshal work to the UI thread.
PriorityGets the dispatcher priority used for posted drains and delayed work.
NowGets the scheduler's notion of current time.
TimestampGets the sequencer's monotonic timestamp.

Fields

NameSummary
static InstanceGets the shared scheduler for UIThread.

Methods

NameSummary
ScheduleSchedules a work item for execution as soon as possible.
Inherited members

See also