node-ejs-renderer/node_modules/thingies/es2020/concurrency.d.ts

4 lines
175 B
TypeScript
Raw Normal View History

2024-06-09 13:55:01 -04:00
import type { Code } from './types';
/** Limits concurrency of async code. */
export declare const concurrency: (limit: number) => <T = unknown>(code: Code<T>) => Promise<T>;