On this page

Represents AsyncQueue.

new AsyncQueue(): AsyncQueue<T, K, R>
Returns:AsyncQueue<T, K, R>
add(item, callback): void
Attributes
item:T
callback:CallbackAsyncQueue<R>
Returns:void

Processes the provided item.


clear(): void
Returns:void

decreaseParallelism(): void
Returns:void

Decrease parallelism.


getContext(): string
Returns:string

Returns context of execution.


increaseParallelism(): void
Returns:void

Increase parallelism.


invalidate(item): void
Attributes
item:T
Returns:void

Processes the provided item.


isDone(item): boolean
Attributes
item:T
Returns:boolean

Checks whether this async queue is done.


isProcessing(item): boolean
Attributes
item:T
Returns:boolean

Checks whether this async queue is processing.


isQueued(item): boolean
Attributes
item:T
Returns:boolean

Checks whether this async queue is queued.


setContext(value): void
Attributes
value:string
Returns:void

Updates context using the provided value.


stop(): void
Returns:void

Describes how this stop operation behaves.


waitFor(item, callback): void
Attributes
item:T
callback:CallbackAsyncQueue<R>
Returns:void

Waits for an already started item

added(t): void
Attributes
t:T
Returns:void
beforeAdd(t): void
Attributes
t:T
Returns:void
beforeStart(t): void
Attributes
t:T
Returns:void
result(t, arg1, arg2): void
Attributes
t:T
arg1:WebpackError | null | undefined
arg2:R | null | undefined
Returns:void
started(t): void
Attributes
t:T
Returns:void
Attributes
err:WebpackError | null
result:T | null
Returns:void