es-toolkit
Version:
A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.
11 lines (10 loc) • 401 B
JavaScript
import { limitAsync as limitAsync$1 } from "../promise/limitAsync.mjs";
//#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 = limitAsync$1;
//#endregion
export { limitAsync };