-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Finalize the API review #1528
Finalize the API review #1528
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1528 +/- ##
==========================================
- Coverage 84.02% 83.98% -0.05%
==========================================
Files 278 278
Lines 6546 6542 -4
Branches 1024 1023 -1
==========================================
- Hits 5500 5494 -6
- Misses 837 839 +2
Partials 209 209
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
/// The generator can override the delay generated by the retry strategy. If generator returns <see langword="null"/>, the delay generated | ||
/// by retry strategy for that attempt will be used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// The generator can override the delay generated by the retry strategy. If generator returns <see langword="null"/>, the delay generated | |
/// by retry strategy for that attempt will be used. | |
/// The generator can override the delay generated by the retry strategy. If the generator returns <see langword="null"/>, the delay generated | |
/// by the retry strategy for that attempt will be used. |
Details on the issue fix or feature implementation
Outcome.FromResultAsTask
toOutcome.FromResultAsValueTask
to indicateValueTask
is returned.RetryDelayGeneratorArguments.DelayHint
. Now, returning nullTimeSpan
has the same effect as using delay hint.PredicateResult.True
andPredicateResult.False
are now methods.Outcome.EnsureSucccess
toOutcome.ThrowIfException
BrokenCircuitException<TResult>
back toPolly
. Polly V8 only throwsBrokenCircuitException
. (solves problems with disposable results)Closes #1507
Closes #1301
This change finalizes the API review and allows us to publish the beta.
Confirm the following