es-toolkit
Version:
A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.
10 lines (9 loc) • 373 B
JavaScript
//#region src/array/limitAsync.ts
/**
* Wraps an async function to limit the number of concurrent executions.
*
* @deprecated Use `limitAsync` from `es-toolkit/promise` instead. This export will be removed from `es-toolkit/array` in a future major version.
*/
const limitAsync = require("../promise/limitAsync.js").limitAsync;
//#endregion
exports.limitAsync = limitAsync;