Skip to content

HandlerSequencer class

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

Defined in

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

Summary

View source

Android sequencer 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 ISequencer {
    <>
}
ISequencer <|.. HandlerSequencer

Implements: ISequencer

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.
NowGets the scheduler's notion of current time.
TimestampGets the sequencer's monotonic timestamp.

Methods

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

See also