DEV Community


Discussion on: Async/Await easy retry in c#

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.

alialp profile image
Ali Alp Author

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