<PackageReference Include="ReactiveUI.Primitives.Core" Version="8.0.0" />

ReactiveUI.Primitives.Concurrency.SequencerQueue<TAbsolute>

public class SequencerQueue<TAbsolute> where TAbsolute : IComparable<TAbsolute>
Scheduler queue that keeps scheduled items ordered by absolute due time.
public int Count { get; }

Gets the number of scheduled items in the scheduler queue.

public SequencerQueue()

Initializes a new instance of the SequencerQueue<T> class with a default initial capacity.

public SequencerQueue(int capacity)

Initializes a new instance of the SequencerQueue<T> class with the specified initial capacity.

public ScheduledItem<TAbsolute> Dequeue()

Dequeues the next work item from the scheduler queue.

public void Enqueue(ScheduledItem<TAbsolute> scheduledItem)

Enqueues the specified work item to be scheduled.

public ScheduledItem<TAbsolute> Peek()

Peeks the next work item in the scheduler queue.

public bool Remove(ScheduledItem<TAbsolute> scheduledItem)

Removes the specified work item from the scheduler queue.