UNPKG

memfs

Version:

In-memory file-system with Node's fs API.

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