@dfinity/assets
Version:
JavaScript and TypeScript library to manage assets on the Internet Computer
7 lines • 322 B
TypeScript
/**
* Minimal promise executor with concurrency limit implementation
* @param concurrency Maximum number of promises executed concurrently
*/
export declare const limit: (concurrency: number) => <T>(fn: () => Promise<T>) => Promise<T>;
export type LimitFn = ReturnType<typeof limit>;
//# sourceMappingURL=limit.d.ts.map