( functions: ReadonlyArray<Task<TaskResultsType>>, options?: Partial<EnqueueOptionsType>, )
| 583 | options?: Partial<EnqueueOptionsType>, |
| 584 | ): Promise<TaskResultsType[]>; |
| 585 | async addAll<TaskResultsType>( |
| 586 | functions: ReadonlyArray<Task<TaskResultsType>>, |
| 587 | options?: Partial<EnqueueOptionsType>, |
| 588 | ): Promise<TaskResultsType[]> { |
| 589 | return Promise.all(functions.map(async function_ => this.add(function_, options))); |
| 590 | } |
| 591 | |
| 592 | /** |
| 593 | Start (or resume) executing enqueued tasks within concurrency limit. No need to call this if queue is not paused (via `options.autoStart = false` or by `.pause()` method.) |
no test coverage detected