node-ejs-renderer/node_modules/memfs/lib/thingies/concurrency.d.ts
2024-06-09 13:55:01 -04:00

4 lines
175 B
TypeScript

import type { Code } from './types';
/** Limits concurrency of async code. */
export declare const concurrency: (limit: number) => <T = unknown>(code: Code<T>) => Promise<T>;