UNPKG

@utilify/core

Version:

Modern, strongly typed, and safe utility function library for JavaScript and TypeScript. Includes type checking, manipulation of arrays, objects, strings, dates, colors, numbers, regular expressions, and more. Compatible with Browser, Node.js, Deno, and B

12 lines 458 B
/** * @callback ParallelCallback * @returns {Promise<any>} */ /** * Runs multiple async functions in parallel and returns their results. * @param {...ParallelCallback} callbacks - The async functions to run. * @returns {Promise<any[]>} A promise with all results. * @throws {TypeError} If any callback is not a function. */ export default function parallel(...callbacks: (() => Promise<any>)[]): Promise<any[]>; //# sourceMappingURL=parallel.d.ts.map