1using System.Threading.Tasks;
24 Task<bool>
Enqueue(
object Item,
int TimeoutMilliseconds);
41 Task<object>
Dequeue(
int TimeoutMilliseconds);
Interface for asynchronously disposable objects.
Inteface for persisted queues.
Task< bool > Enqueue(object Item, int TimeoutMilliseconds)
Enqueues an item into the queue.
Task< int > GetNrEnqueuers()
Gets the number of enqueuers waiting for space to be available to enqueue new items.
Task Clear()
Clears the queue.
Task< int > GetNrDequeuers()
Gets the number of dequeuers waiting for items to be queued.
Task< object > Dequeue(int TimeoutMilliseconds)
Dequeue an item from the queue. The task will wait for an item to be dequeued, or,...
Task< object > TryDequeue()
Tries to dequeue an item from the queue, if one exists. If an item is not available,...
Task< object > Peek()
Returns the next item available to be dequeued, without dequeueing it. If an item is not available,...
Task< bool > Enqueue(object Item)
Enqueues an item into the queue.
Task< object > Dequeue()
Dequeue an item from the queue. The task will wait for an item to be dequeued, or,...