NSRunloopSequencer class¶
Attributes: [DebuggerDisplay("{DebuggerDisplay,nq}")]
Defined in
Namespace: ReactiveUI.Primitives.Reactive.Concurrency
Assembly: ReactiveUI.Primitives.Reactive.dll
Full name: ReactiveUI.Primitives.Reactive.Concurrency.NSRunloopSequencer
Modifiers: public sealed
Summary¶
System.Reactive-flavoured Apple scheduler that coalesces scheduled work onto the main DispatchQueue
(the UI thread on iOS, tvOS, Mac Catalyst, and macOS). Immediate work is batched through a single cached
DispatchBlock drain, so the per-post path allocates nothing; delayed work uses
DispatchAfter.
Applies to
net10.0-ios26.0, net10.0-macos26.0, net10.0-maccatalyst26.0, net10.0-tvos26.0
Class hierarchy
classDiagram
class NSRunloopSequencer
class CoalescingDispatchScheduler
CoalescingDispatchScheduler <|-- NSRunloopSequencer
Inherits from: CoalescingDispatchScheduler
Properties¶
| Name | Summary |
|---|---|
| static Main | Gets a sequencer that marshals work onto the main dispatch queue. |
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