Queue
Type of queue items.
Private
The maximum size of the queue.
The size of the queue.
Returns an iterator for the queue.
An iterator for the queue.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
Clears the queue.
Dequeue an item.
The dequeued item or undefined if the queue is empty.
undefined
Enqueue an item.
Item to enqueue.
The new size of the queue.
Peeks at the first item.
The first item or undefined if the queue is empty.
Generated using TypeDoc
Queue