-
Notifications
You must be signed in to change notification settings - Fork 4
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
Feature/allSettled(), any(), race() #25
Conversation
…s and added better function descriptions
this gives the right answer, but takes 70s to finish
note: the issue here is that my understanding of "race" is that it finishes when the first of a collection of promises finishes (asynchronously), so the expectation is that the the unit test finishes right away. Instead this took a lot of time, possibly 0s + 1s+ 2s + 3s + 4s + 60s (which is the suite timeout) = 70s. Oddly, when I shift the order of the input promises around, the test seams to finish right away. Also note that this is true for rejecting promises as well (which is what I expect). |
No description provided.