Documentation / listr2 / Concurrency
Class: Concurrency
Constructors
new Concurrency()
new Concurrency(
options
):Concurrency
Parameters
• options
• options.concurrency: number
Returns
Defined in
packages/listr2/src/utils/concurrency.ts:9
Methods
add()
add<
T
>(fn
):Promise
<T
>
Type Parameters
• T
Parameters
• fn
Returns
Promise
<T
>
Defined in
packages/listr2/src/utils/concurrency.ts:15