Skip to content

HandlerSequencer class

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

Defined in

Namespace: ReactiveUI.Primitives.Reactive.Concurrency Assembly: ReactiveUI.Primitives.Reactive.dll Full name: ReactiveUI.Primitives.Reactive.Concurrency.HandlerSequencer Modifiers: public sealed

Summary

View source

System.Reactive-flavoured Android scheduler that coalesces scheduled work onto the thread backing a Handler (typically the main/UI looper). Immediate work is batched through a single cached IRunnable drain, so the per-post path allocates nothing; delayed work uses the native PostDelayed.

Applies to

net10.0-android36.0

Class hierarchy
classDiagram
class HandlerSequencer
class CoalescingDispatchScheduler
CoalescingDispatchScheduler <|-- HandlerSequencer

Inherits from: CoalescingDispatchScheduler

Constructors

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

Properties

NameSummary
static MainGets a sequencer that marshals work onto the application's main (UI) looper.
HandlerGets the handler used to marshal work onto its looper thread.

Methods

NameSummary
ToString
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