-
Notifications
You must be signed in to change notification settings - Fork 362
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
Async support for when, whenError and onRetry #679
Conversation
Sadly, we cannot do this without releasing a major version. This is a breaking change. CC @natebosch |
I do think this looks like a nice change, but we can't do a major bump right now. If you file an issue we can tag it so that it gets attention once we are ready to push through a major version. |
Thanks for the feedback. Sorry, but I thought it wasn't a breaking change because I'm using There is a chance to reconsider this PR, because in my opinion it is backwards compatible? @kevmoo , @natebosch, could you show me an example of api breaking with these changes? Maybe I'm missing the point. |
Any code with |
@natebosch I don't get it, because I just changed the type of private variables, not methods. The private vars are not exposed by the API. And the implementations constructors continues to working properly. Could you show a concrete example of breaking? |
Thank you! |
I believe this is practically non-breaking (almost everything is technically breaking, but it requires people to go through some hoops to be broken). |
Addresses issue #645 .
In a general way, it add support for assigning async callbacks to when, whenError and onRetry