promise-all-settled
See the test
directory (or run npm install && npm test
) to see more complete examples.
Usage Examples
Note: could easily rework if you wanted to always return just successes, etc.
const allSettled = const items = 1 2 3 4 5const getAsync = const promises = items