You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
@bluehayes you can implement it yourself easily if you need it by using $provide.delegate(). Here's a quick (and probably having some issues so be warned!) attempt https://gist.github.com/jrencz/0bf3917d0a28c2b87dff
Implement $q.race. $q.race takes in an array or hash of promises and
returns a promsie that is resolved as soon as the first promise is
resolved.
Closesangular#12929
Implement $q.race. $q.race takes in an array or hash of promises and
returns a promise that resolves or rejects as soon as one of those promises
resolves or rejects, with the value or reason from that promise.
Closes#12929Closes#14757
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Any chance of a
$q.race()
method being implemented? $q is compatible with the ES6 promise spec apart from the race method.Thanks
The text was updated successfully, but these errors were encountered: