LitDev Extension API
LDQueue
![](images/IntellisenseObject.png)
This object provides a way of storing values.
It is similar to a stack, except that is is fist-in first-out, like a queue.
You can enqueue (add) a value to the end of the queue and dequeue (remove) the first value at the front of the queue.
You can only enqueue and dequeue the values one by one.
Dequeue
![]() |
Enqueue
![]() |
GetCount
![]() |
Dequeue(queueName)
![](images/IntellisenseMethod.png)
Remove (and get) the value from the front of the specified queue.
queueName The name of the queue.
returns The value from the queue.
Enqueue(queueName,value)
![](images/IntellisenseMethod.png)
Adds a value to the end of the specified queue.
queueName The name of the queue.
value The value to enqueue.
GetCount(queueName)
![](images/IntellisenseMethod.png)
Gets the count of items in the specified queue.
queueName The name of the queue.
returns The number of items in the specified queue.