@promise-utils/any
v1.0.1
Published
An ajternative to Promise.race
Downloads
4
Readme
Promise.any
An improvement over Promise.race()
See:
- Promise me you won’t use Promise.race https://www.jcore.com/2016/12/18/promise-me-you-wont-use-promise-race/
- Promise.race is a lie https://gist.github.com/unscriptable/06f8984d6cb0fd6be1c0
Alternative packages:
- https://github.com/sindresorhus/p-any slightly more powerful/complicated (aggregated errors)