
Security News
Potemkin Understanding in LLMs: New Study Reveals Flaws in AI Benchmarks
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
@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
The npm package @types/tiny-async-pool receives a total of 118,722 weekly downloads. As such, @types/tiny-async-pool popularity was classified as popular.
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.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.