task-pool

A generic pool to limit number of running asynchronous tasks or promises.