Closed
Description
feedback from link
If an interface has a void method, then a caller should reasonably expect any exception to be caught in a try/catch block. This is not true if the implementation of the interface specifies "async" as an exception can be unhandled on the thread pool. This can crash the hosting process. Please prevent the async keyword being used by implementers of a void method on an interface when the void method does not also declare the async keyword
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment