-
-
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
Guard clauses for TimeoutPolicy now allow Timout.InfiniteTimeSpan (Issue #419) #424
Conversation
Thank you @urig , this is looking great! Hmm. From the build error, it looks like .NET4.0 does not publicly expose the constant
and then use #if directive forking to just define it manually for .NET4.0. Probably pull that into a Let's also catch the:
intellisense for the methods you're updating, update them to the nice new message from I reckon that would be good to go then across the other syntax classes. There's a very similar Thank you again for your contribution! |
I have some questions about this. Will try to catch you on Slack! |
With support for .net 4.0 using #if directive forking when validating infinite timeouts
Thanks @urig . Merging! Will add credit and v5.9.0 doco for this later. |
+ #424 (fixes #419) Allow `Timeout.InfiniteTimeSpan` for TimeoutPolicy + #425 Rationalise Execute()/ExecuteAsync() overloads: pre-advise ([per SemVer](https://semver.org/#how-should-i-handle-deprecating-functionality)) expected breaking changes for v6.0 + #426 Better name ExecutionKey and ExecutionGuid: pre-advise ([per SemVer](https://semver.org/#how-should-i-handle-deprecating-functionality)) expected breaking changes for v6.0 + Add `Context()` public noargs ctor + Minor corrections to method visibility
A
TimeSpan
value ofTimeout.InfiniteTimeSpan
indicates, well, an infinite timeout for the policy.Please note this PR only addresses the sync version of the Policy. Async version to be address immediately following.