EASIEST solution for async void in C# EventHandlers
February 14, 2023
• 1,340 views
asyncawaitasync awaitasync voidcsharpdotnetdotnet coreblogcode samplesasynchronousC# asyncdotnet async.net asyncawait voidasync exceptionsexceptionsexception handling asynceventseventhandlerC# eventsC# event handlerC# event handler asyncC# event handler async methodasync C# eventsC# async awaitC# async await explainedC# async await taskC# async exception not caughtasync void vs async taskc# async voidc# task exceptions
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...
