Skip to content

ItemQueueItems.dequeue method

ItemQueueItems › dequeue

Unofficial

Remove and return the next item from the front of the queue.

Signature:

dequeue(): T | undefined

Returns: T | undefinedThe dequeued item, or undefined if empty.