Constructors
constructor
- new Queue(concurrency): Queue
Accessors
concurrency
- get concurrency(): number
Returns number
- set concurrency(value): void
Returns void
pending
- get pending(): number
Returns number
running
- get running(): number
Returns number
Methods
add
- add<T>(task): Promise<T>
Returns Promise<T>