/** * Bounded parallelism. * * Google's list endpoints return bare ids, so every hit costs a second request. * Firing all of them at once trips per-user rate limits; firing them one by one * makes a twenty-result search take twenty round trips. */ /** Runs `task` over `items` with a fixed number of workers, preserving order. */ export declare function mapWithConcurrency(items: T[], limit: number, task: (item: T, index: number) => Promise): Promise; //# sourceMappingURL=concurrency.d.ts.map