
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
@types/tiny-async-pool
Advanced tools
TypeScript definitions for tiny-async-pool
npm install --save @types/tiny-async-pool
This package contains type definitions for tiny-async-pool (https://github.com/rxaviers/async-pool#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tiny-async-pool.
/**
* This declaration specifies that the function is the exported object from the file
*/
export = asyncPool;
/**
* Runs multiple promise-returning & async functions in a limited concurrency pool.
* It rejects immediately as soon as one of the promises rejects.
* It resolves when all the promises completes.
* It calls the iterator function as soon as possible (under concurrency limit).
*
* @param poolLimit The pool limit number (>= 1).
* @param array Input array.
* @param iteratorFn Iterator function that takes two arguments (array item and the array itself).
* The iterator function should either return a promise or be an async function.
*
* @template IN Type of the input array
* @template OUT Type of the resolves of the promises
*/
declare function asyncPool<IN, OUT>(
poolLimit: number,
array: readonly IN[],
iteratorFn: (generator: IN) => Promise<OUT>,
): AsyncIterableIterator<OUT>;
These definitions were written by Karl-Philipp Wulfert.
FAQs
TypeScript definitions for tiny-async-pool
We found that @types/tiny-async-pool demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.