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¶
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¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [HandlerSequencer](# class. |
Properties¶
| Name | Summary |
|---|---|
| static Main | Gets a sequencer that marshals work onto the application's main (UI) looper. |
| Handler | Gets the handler used to marshal work onto its looper thread. |
Methods¶
| Name | Summary |
|---|---|
| ToString | |
| Post | Posts the cached drain callback to the platform dispatcher. |
| ScheduleOnDispatcher | Runs 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
ReactiveUI.Primitives.Reactive.Concurrency.CoalescingDispatchScheduler.#ctorReactiveUI.Primitives.Reactive.Concurrency.CoalescingDispatchScheduler.Schedule``1(``0,System.Func{System.Reactive.Concurrency.IScheduler,``0,System.IDisposable})ReactiveUI.Primitives.Reactive.Concurrency.CoalescingDispatchScheduler.Schedule``1(``0,System.TimeSpan,System.Func{System.Reactive.Concurrency.IScheduler,``0,System.IDisposable})ReactiveUI.Primitives.Reactive.Concurrency.CoalescingDispatchScheduler.Post(System.Action)ReactiveUI.Primitives.Reactive.Concurrency.CoalescingDispatchScheduler.ScheduleOnDispatcher(System.Action,System.TimeSpan)ReactiveUI.Primitives.Reactive.Concurrency.CoalescingDispatchScheduler.RequestDrainSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString