promise-complete
Call all promises in an array whether they resolve or reject
About
This is exactly like Promise.all
except that it won't reject and stop promises
from being called. Resolve and rejection values are returned in the results
array in the same order as the promises were given so you can iterate over the
array and check/handle errors after all of the promises have resolved/rejected.
Installation
npm install --save promise-complete
Usage
Promisecomplete = // Output all promise results to a results array:const results = await Promisecompletepromise1 promise2 // Log any results that are instances of Error:results
ISC © Ian Walter