Represents AsyncQueue.
new AsyncQueue(): AsyncQueue<T, K, R>
Returns:
AsyncQueue<T, K, R>Type:
ObjectType:
SyncHook<[T]>Type:
AsyncSeriesHook<[T]>Type:
AsyncSeriesHook<[T]>Type:
SyncHook<[T, WebpackError | null | undefined, R | null | undefined]>Type:
SyncHook<[T]>asyncQueue.add(item, callback): void
Attributes
item:
Tcallback:
CallbackAsyncQueue<R>Processes the provided item.
asyncQueue.clear(): void
asyncQueue.decreaseParallelism(): void
Decrease parallelism.
asyncQueue.getContext(): string
Returns:
stringReturns context of execution.
asyncQueue.increaseParallelism(): void
Increase parallelism.
asyncQueue.invalidate(item): void
Attributes
item:
TProcesses the provided item.
asyncQueue.isDone(item): boolean
Attributes
item:
TReturns:
booleanChecks whether this async queue is done.
asyncQueue.isProcessing(item): boolean
Attributes
item:
TReturns:
booleanChecks whether this async queue is processing.
asyncQueue.isQueued(item): boolean
Attributes
item:
TReturns:
booleanChecks whether this async queue is queued.
asyncQueue.setContext(value): void
Attributes
value:
stringUpdates context using the provided value.
asyncQueue.stop(): void
Describes how this stop operation behaves.
asyncQueue.waitFor(item, callback): void
Attributes
item:
Tcallback:
CallbackAsyncQueue<R>Waits for an already started item