Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 687 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 687 Bytes

Promise Pool

A Promise Pool is a utility that manages a pool of promises in TypeScript, allowing for controlled concurrency when executing asynchronous tasks. This README provides an overview of the Promise Pool implementation using a queue data structure and provides usage instructions.

Installation

To use the Promise Pool with a queue data structure in your TypeScript project, you can install it via npm or yarn:

npm install 

Example

Here's an example that demonstrates the usage of Promise Pool with a queue data structure, the example limiting the number of concurrent Promises being executed at a given time (currently its 100)

npm start