histoire
Version:
A fast story book powered by Vite
6 lines • 359 B
TypeScript
/**
* Run async work over items with bounded parallelism, overlapping filesystem latency.
* Operations must handle their own failures; a rejection stops remaining items.
*/
export declare function forEachVisualConcurrent<T>(items: readonly T[], limit: number, operation: (item: T) => Promise<void>): Promise<void>;
//# sourceMappingURL=concurrency.d.ts.map