Skip to content

AvaloniaScheduler class

Defined in

Namespace: ReactiveUI.Primitives.Reactive.Concurrency Assembly: ReactiveUI.Primitives.Avalonia.Reactive.dll Full name: ReactiveUI.Primitives.Reactive.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 CoalescingDispatchScheduler
CoalescingDispatchScheduler <|-- AvaloniaScheduler

Inherits from: CoalescingDispatchScheduler

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.

Fields

NameSummary
static InstanceGets the shared scheduler for UIThread.

Methods

NameSummary
PostPosts the cached drain callback to the platform dispatcher.
ScheduleOnDispatcherRuns work on the dispatcher after dueTime. The default marshals the wait onto the shared timer, then re-queues the work onto the dispatcher when it is due. Platforms with a native UI-thread...
Inherited members

See also