Skip to content

Unexpected call of the resolve handler after Promise.all() and Promise.race() #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dbukhmastov opened this issue Mar 1, 2017 · 2 comments

Comments

@dbukhmastov
Copy link
Contributor

Promise.all("").then(function(res) {
server.log("Resolve handler is called " + res);
}, function(res) {
server.log("Reject handler is called " + res);
});

@dbukhmastov
Copy link
Contributor Author

The same behavior is Promise.race("")

@dbukhmastov dbukhmastov changed the title Unexpected call of the reject handler Unexpected call of the resolve handler after Promise.all() and Promise.race() Mar 1, 2017
@ppetrosh
Copy link

ppetrosh commented Mar 2, 2017

Yep, seems to be a bug. Not that critical though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants