Skip to content
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

Does Thenable::all reject as soon as an item passed to it rejects? #37

Closed
paulyoung opened this issue Mar 24, 2015 · 1 comment
Closed
Labels

Comments

@paulyoung
Copy link
Contributor

I looked into this last week and it seemed like all of the tasks were being run and then the fulfill/reject count was being checked afterwards.

@bergie
Copy link
Contributor

bergie commented Mar 24, 2015

@paulyoung it rejects as soon as it receives a negative result: https://github.com/the-grid/Flowerflip/blob/master/lib/Thenable.coffee#L23

However, depending how the tasks are set up, this may mean one or multiple of them are started before we get there

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

No branches or pull requests

2 participants