Skip to main content

Class: ArrayTaskQueue

A task queue backed by an array.

Constructors

constructor

new ArrayTaskQueue(tasks): ArrayTaskQueue

Constructor.

Parameters

NameTypeDescription
tasksTask[]The array of tasks in this queue.

Returns

ArrayTaskQueue

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

Task

Defined in

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