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

Make overload in retry to take exception before pause provide #301

Closed
ijsgaus opened this issue Aug 24, 2017 · 2 comments
Closed

Make overload in retry to take exception before pause provide #301

ijsgaus opened this issue Aug 24, 2017 · 2 comments

Comments

@ijsgaus
Copy link

ijsgaus commented Aug 24, 2017

WaitAndRetry(int, Func<int, TException, TimeSpan> timeout);

@reisenberger
Copy link
Member

Broadly related to #177 .

At the moment, we are looking not to add further policy configuration overloads to Polly, due to the already too-numerous overloads. The forthcoming syntax changes proposed in #281 are intended to reduce the number of overloads by splitting onPolicyEvent-type delegates out of Policy configuration.

It could be good then to add this after the #281 syntax changes.

@reisenberger
Copy link
Member

This feature is delivered in Polly v5.6.0 (will be released via nuget in next day or so).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants