You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This could be quite useful. I'm thinking just returning the builder that was used to create the Retryer instance might be the simplest way to go here. It can then be updated and a new instance can be built with the new settings. Swapping out the old Retryer instance and updating the builder might have some thread safety implications, but overall it'd still be nice to have. Did you have a better API in mind that you'd prefer to use? I'm open to suggestions (and pull requests...).
Agree - exposing the initial builder should be enough. I'm still exploring options. Safe publication is something the library user should handle anyway.
Sometimes the code that's using the Retreyer instance needs to add more conditions or update the retry / wait strategies.
The text was updated successfully, but these errors were encountered: