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
Currently when using the new API, it is required to specify ShouldHandle predicate for CircuitBreaker, ShouldRetry predicate for Retry and probably more.
I think it would be beneficial to have some reasonable default predicates so that users don't need to specify it every time. For example I would consider reasonable default to handle all requests that throw exceptions (other than OperationCancelledException).
Also it would be nice to have the defaults for Http scenarios (handling 5xx requests), because these will be common as well.