Concurrency limit
Applies a concurrency limit to your function
25 LOC, 100% test coverage
Installation
npm install limit-concurrency
Usage
;async { const limitConcurrency = const limit = 2 const limited = // Will only call 2 at a time await Promiseall // Respects input arguments and return values console // true}