P-Queue
Control how many scheduled JavaScript jobs run at the same time.
sindresorhus · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a Node.js project, install [email protected]. Queue three sample jobs on a queue with one slot.
What we tested
10.0.0. Queue three sample jobs on a queue with one slot. Ran all three jobs and observed only one active at each time.