Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

promise-rat-race

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Issues
File Explorer

Advanced tools

promise-rat-race

like Promise.race, but doesn't care about the losers in the race

    1.5.1latest

Version published
Maintainers
1
Yearly downloads
4,329
increased by412.31%

Weekly downloads

Changelog

Source

Readme

Source

promise-rat-race

Like Promise.race(), but doesn't care about the losers.

Returns a promise that resolves as soon as one promise in an array of promises resolves and only rejects (with the first error returned) if all the promises reject

require('promise-rat-race')([ promise1, promise2, promise3 ])

Keywords

Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc