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 | undefined — The dequeued item, or undefined if empty.