- allSettled<A extends [] | readonly unknown[]>(
collection: A,
): Promise<{ -readonly [K in keyof A]: SettleResult<Awaited<A[K]>> }> Type Parameters
- A extends [] | readonly unknown[]
Returns Promise<{ -readonly [K in keyof A]: SettleResult<Awaited<A[K]>> }>
Promise.allSettled() implementation