-
Notifications
You must be signed in to change notification settings - Fork 161
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
retryCondition should use promise value in return #196
Conversation
@mindhells plz have a look, thx |
you'd need to fix the tests |
The condition is that i want use Promise to control the retry result, instead of use throw error in it. It's not handy |
The test i will have a look |
solved, plz have a look again @mindhells |
I believe this relates to #190 I missing 2 things to merge this PR:
WDYT? |
Got it, i will have a look on it |
@mindhells Done, have i got the point? |
Yes! I think so |
v3.2.5 published! |
I think it's better to get the control back to user, it's more flexible