BrandGhost
EASIEST solution for async void in C# EventHandlers

EASIEST solution for async void in C# EventHandlers

async and EventHandlers in C# just don't seem to mix very well. As soon as you have exceptions, you're in for a world of pain and often left wondering just what the heck broke your application. If you've been having headaches with async event handlers, then check this out! Want to read the article this was based on? https://www.devleader.ca/2023/02/14/async-eventhandlers-a-simple-safety-net-to-the-rescue/ Want more info about async event handlers? https://www.youtube.com/watch?v=aLN0J_RtDRg&li...
An error has occurred. This application may no longer respond until reloaded. Reload