DEV Community

loading...

Discussion on: Async/Await easy retry in c#

Collapse
thebuzzsaw profile image
Kelly Brown

I feel like DoNotRetryOnTheseExceptions should either be a list of Type objects or a series of Predicate<Exception> filters. Holding instances seems odd... and wasteful.

Collapse
alialp profile image
Ali Alp Author

You are right :) , Thanks for the tip, I have changed the code accordingly