Exercise: Async Chat Logger
Explore how to implement asynchronous disposal in C# by creating a ChatLogger class that handles network resource cleanup non-blockingly. Learn to use IAsyncDisposable, await Task.Delay, and the await using syntax to safely manage asynchronous cleanup in a live chat server scenario.
We'll cover the following...
We'll cover the following...
Problem statement
A social media backend server handles thousands of live chat connections. When a user ...