Promise each concurrency
Process an iterable of promises with concurrency
Table of Contents
Install
npm i promise-each-concurrency # Or with Yarn yarn add promise-each-concurrency
Usage
; ;
Will produce:
1
2
3
With a 1 second pause between each line.
API
Options
Name | Default | Description |
---|---|---|
concurrency | Math.infinity | how many items to process at once, default is no limit |
Contributing
See the contribute file!
PRs accepted.