NSRunloopSequencer class¶
Attributes: [DebuggerDisplay("{DebuggerDisplay,nq}")]
Defined in
Namespace: ReactiveUI.Primitives.Concurrency
Assembly: ReactiveUI.Primitives.dll
Full name: ReactiveUI.Primitives.Concurrency.NSRunloopSequencer
Modifiers: public sealed
Summary¶
Apple sequencer 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 ISequencer {
<>
}
ISequencer <|.. NSRunloopSequencer
Implements: ISequencer
Properties¶
| Name | Summary |
|---|---|
| static Main | Gets a sequencer that marshals work onto the main dispatch queue. |
| Now | Gets the scheduler's notion of current time. |
| Timestamp | Gets the sequencer's monotonic timestamp. |
Methods¶
| Name | Summary |
|---|---|
| ToString | |
| Schedule | Schedules a work item for execution as soon as possible. |