Function promise_allSettled
- promise_allSettled<T>(values): Promise<{
-readonly [P in string | number | symbol]: PromiseSettledResult<Awaited<T[P<P>]>>
}> Type Parameters
- T extends [] | readonly unknown[]
Returns Promise<{
-readonly [P in string | number | symbol]: PromiseSettledResult<Awaited<T[P<P>]>>
}>
A new Promise.
- promise_allSettled<T>(values): Promise<PromiseSettledResult<Awaited<T>>[]>
Parameters
- values: Iterable<T | PromiseLike<T>, any, any>
Returns Promise<PromiseSettledResult<Awaited<T>>[]>
A new Promise.
Creates a Promise that is resolved with an array of results when all of the provided Promises resolve or reject.