time Limit
Returns a RetryPredicate that limits the retry time to the specified duration. The predicate will allow retries as long as the elapsed time since the first attempt is less than duration.
Return
A RetryPredicate that limits the retry time to the specified duration.
Since
1.0.0
Parameters
duration
The maximum amount of time to keep retrying.
Extension property on Duration to get a RetryPredicate that limits the retry time to this duration.
Since
1.0.0