Await your event handlers completion with Deferred Events
Read OriginalThis technical article introduces the concept of Deferred Events, a pattern for .NET that allows event invokers to await the completion of all async void event handlers. It covers the problem with traditional async void handlers, presents a NuGet package solution, and provides usage examples and rules for implementing deferred events using deferral objects.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser