UNPKG

@atomist/automation-client

Version:

Atomist API for software low-level client

9 lines 476 B
/** * Execute all provided promises with a max concurrency * Results will be in the same order as the provided promises; if one promise rejects, * execution is stopped and the returned promise is rejected as well. * @param promises all promises to execute * @param concurrent the max number of concurrent promise executions */ export declare function executeAll<T>(promises: Array<() => Promise<T>>, concurrent?: number): Promise<T[]>; //# sourceMappingURL=pool.d.ts.map