Skip to main content

Interface: TaskQueue

A task queue.

Methods

hasNext

hasNext(): boolean

Checks whether this queue has more tasks.

Returns

boolean

whether this queue has more tasks.

Defined in

src/sdk/utils/task/TaskQueue.ts:12


next

next(): Task

Gets the next task in this queue.

Returns

Task

the next task in this queue.

Throws

when the queue is empty.

Defined in

src/sdk/utils/task/TaskQueue.ts:19