asynchronous.queues

Queues.

Members

Classes

LifoQueue
class LifoQueue(T, size_t maxSize = 0)

A subclass of $(D_PSYMBOL Queue) that retrieves most recently added entries first.

PriorityQueue
class PriorityQueue(T, size_t maxSize = 0, alias less = "a < b")

A subclass of $(D_PSYMBOL Queue); retrieves entries in priority order (largest first).

Queue
class Queue(T, size_t maxSize = 0)

A queue, useful for coordinating producer and consumer coroutines.

QueueEmptyException
class QueueEmptyException

Exception thrown when $(D_PSYMBOL Queue.getNowait()) is called on a $(D_PSYMBOL Queue) object which is empty.

QueueFullException
class QueueFullException

Exception thrown when $(D_PSYMBOL Queue.putNowait()) is called on a $(D_PSYMBOL Queue) object which is full.

Meta