/******************************* * Parallel Execution Utilities * * Provides utilities for parallel execution with concurrency control. * Uses a semaphore to limit the number of concurrent operations. * * @module core/utils/parallel *******************************/ import { Semaphore } from "../modules/react-loader/ssr-module-loader/concurrency/semaphore.js"; type ParallelOptions = { concurrency?: number; semaphore?: Semaphore; timeoutMs?: number; }; /** Run parallel map. */ export declare function parallelMap(items: T[], fn: (item: T, index: number) => Promise, options?: ParallelOptions): Promise; export declare function parallelAll Promise)[]>(fns: T, options?: ParallelOptions): Promise<{ [K in keyof T]: Awaited>; }>; export {}; //# sourceMappingURL=parallel.d.ts.map