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.


export interface IAsyncParallelismOptions 


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


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.