interface DequeOptions {
    capacity?: number;
}

Properties

Properties

capacity?: number

Maximum number of items in the queue. When the queue is full, adding new items will remove the items at the other end of the queue.