Home > @rushstack/node-core-library > IAsyncParallelismOptions

IAsyncParallelismOptions interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Options for controlling the parallelism of asynchronous operations.

Signature:

export interface IAsyncParallelismOptions 

Remarks

Used with Async.mapAsync() and Async.forEachAsync().

Properties

Property Type Description
concurrency? number (BETA) (Optional) Optionally used with the Async.mapAsync() and Async.forEachAsync() to limit the maximum number of concurrent promises to the specified number.