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

Fixes #1582 #1597

Merged
merged 2 commits into from
Nov 27, 2018
Merged

Fixes #1582 #1597

merged 2 commits into from
Nov 27, 2018

Conversation

hargasinski
Copy link
Collaborator

This PR ensures that method pass the err onto eachOfLimit, so that they can be canceled properly. The one method I'm not quite sure about is tryEach. I'm assuming that since retry is cancelable, tryEach should be too?

Sorry if I went a little overboard with the tests, I ended up going down a rabbit hole 😅. For the tests, I was trying to follow the coding style of the encompassing file, which is why some of the descriptions and styles vary. I figured it would be better to keep consistent logging and for future maintenance.

Copy link
Collaborator

@aearly aearly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool, nice work!

@hargasinski hargasinski merged commit bf67791 into master Nov 27, 2018
@hargasinski
Copy link
Collaborator Author

Thanks!

@hargasinski hargasinski deleted the propagate-err branch November 27, 2018 23:05
aearly pushed a commit that referenced this pull request Mar 10, 2019
* ensure err is passed on for cancelable methods

* fix test descriptions
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

Successfully merging this pull request may close these issues.

2 participants