Constructors
constructor
-
Parameters
-
-
Default value concurrency: number = 1
Properties
concurrency
concurrency: number
onError
on
Error: Signal<OnErrorSignal<T>> = new Signal<OnErrorSignal<T>>()
Methods
getTask
- getTask(index: number): ITask<T>
-
Parameters
Returns ITask<T>
Async queue.
The worker function to call for each task.
How many workers to run in parrallel. Must be greater than 0.
The async queue object.