/** 按并发限制执行一个函数数组,同时只能运行限制数量的异步函数 * @example * ```ts * const funcs = list.map((item) => async () => {}) * runWithLimit(funcs, 3).then(() => { console.log("done") }) * ``` * @param funcs 要执行的函数数组,函数必须返回 Promise * @param limit 并发限制数量 * * */ export declare function runWithLimit(funcs: (() => Promise)[], limit: number): Promise; //# sourceMappingURL=runWithLimit.d.ts.map