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¶
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¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [AvaloniaScheduler](# class. |
Properties¶
| Name | Summary |
|---|---|
| Dispatcher | Gets the dispatcher used to marshal work to the UI thread. |
| Priority | Gets the dispatcher priority used for posted drains and delayed work. |
| Now | Gets the scheduler's notion of current time. |
| Timestamp | Gets the sequencer's monotonic timestamp. |
Fields¶
| Name | Summary |
|---|---|
| static Instance | Gets the shared scheduler for UIThread. |
Methods¶
| Name | Summary |
|---|---|
| Schedule | Schedules a work item for execution as soon as possible. |