Executes an array of promises and separates the results into fulfilled and rejected promises. This is a convenience wrapper combining Promise.allSettled() with result partitioning.
An array of promises to be executed
An object containing two properties: fulfilled - Array of fulfilled promise results rejected - Array of rejected promise results
Executes an array of promises and separates the results into fulfilled and rejected promises. This is a convenience wrapper combining Promise.allSettled() with result partitioning.