Skip to main content

Class: AsyncQueue

async-queue/src.AsyncQueue

Constructors

constructor

new AsyncQueue()

Properties

promises

Private promises: AsyncQueueEntry[] = []

Defined in

projects/utilities/packages/async-queue/src/lib/AsyncQueue.ts:26

Accessors

queued

get queued(): number

Returns

number

Defined in

projects/utilities/packages/async-queue/src/lib/AsyncQueue.ts:19


remaining

get remaining(): number

Returns

number

Defined in

projects/utilities/packages/async-queue/src/lib/AsyncQueue.ts:11

Methods

abortAll

abortAll(): void

Returns

void

Defined in

projects/utilities/packages/async-queue/src/lib/AsyncQueue.ts:83


shift

shift(): void

Returns

void

Defined in

projects/utilities/packages/async-queue/src/lib/AsyncQueue.ts:65


wait

wait(options?): Promise<void>

Parameters

NameType
options?Readonly<AsyncQueueWaitOptions>

Returns

Promise<void>

Defined in

projects/utilities/packages/async-queue/src/lib/AsyncQueue.ts:49