gulp-limiter
Limits something from running more than N times in parallel.
Usage-
const limiter = ; // latergulp;
Limiter accepts a maximum number of tasks to run in parallel. If unspecified, uses the number of CPUs in your machine. If negative, uses the number of CPUs minus that number.