Class: ArrayTaskQueue
A task queue backed by an array.
Constructors
constructor
• new ArrayTaskQueue(tasks
): ArrayTaskQueue
Constructor.
Parameters
Name | Type | Description |
---|---|---|
tasks | Task [] | The array of tasks in this queue. |
Returns
Defined in
src/sdk/utils/task/TaskQueue.ts:32
Methods
hasNext
▸ hasNext(): boolean
Returns
boolean
Defined in
src/sdk/utils/task/TaskQueue.ts:36
next
▸ next(): Task
Returns
Defined in
src/sdk/utils/task/TaskQueue.ts:41