ReactiveUI.Primitives.Concurrency.NSRunloopSequencer
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.
namespace ReactiveUI.Primitives.Concurrency
{
public sealed class NSRunloopSequencer : ISequencer
{
public static NSRunloopSequencer Main { get; }
public DateTimeOffset Now { get; }
public long Timestamp { get; }
public void Schedule(IWorkItem item);
public void Schedule(IWorkItem item, long dueTimestamp);
}
}