p-map
Run async data transformations with a fixed number of tasks at once.
sindresorhus · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a Node.js project, install [email protected]. Double three sample quantities using a two-task limit.
What we tested
7.1.1. Double three sample quantities using a two-task limit. Returned all results in order and observed two concurrent tasks.