@hotmeshio/hotmesh
Version:
Serverless Workflow
8 lines (7 loc) • 310 B
TypeScript
/**
* A workflow-safe version of Promise.all, currently limited to certain concurrency.
* @private
* @param {...Promise<T>[]} promises - An array of promises.
* @returns {Promise<T[]>} A promise resolving to an array of results.
*/
export declare function all<T>(...promises: Promise<T>[]): Promise<T[]>;