Skip to content

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

View source

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

NameSummary
static MainGets a sequencer that marshals work onto the main dispatch queue.
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