<PackageReference Include="ReactiveUI.Primitives" Version="7.3.0" />

ReactiveUI.Primitives.Advanced.DispatchSequencerState

Coalescing engine shared by UI-thread sequencers: it batches dispatcher posts and shares delayed scheduling. A sealed sequencer holds one inline and injects its platform post (and optionally scheduleDelayed) delegates plus the cached drain callback; immediate work is queued and drained one batch per post.
namespace ReactiveUI.Primitives.Advanced { public struct DispatchSequencerState : IEquatable<DispatchSequencerState> { public static DateTimeOffset Now { get; } public static long Timestamp { get; } public DispatchSequencerState(ISequencer owner, Func<Action, bool> post, Action drain); public DispatchSequencerState(ISequencer owner, Func<Action, bool> post, Action drain, Action<IWorkItem, long> scheduleDelayed); public static TimeSpan DelayUntil(long dueTimestamp); public static void RunIfActive(IWorkItem item); public void Schedule(IWorkItem item); public void Schedule(IWorkItem item, long dueTimestamp); public void PostDrain(); public void RunDrain(); public static bool operator !=(DispatchSequencerState left, DispatchSequencerState right); public static bool operator ==(DispatchSequencerState left, DispatchSequencerState right); public bool Equals(DispatchSequencerState other); } }