Just because you stopped waiting for it, doesn't mean the Task stopped running

added by DotNetKicks
3/22/2022 10:35:10 AM

259 Views

At the end of my previous post, in which I took a deep-dive into the new .NET 6 API Task.WaitAsync() , I included a brief side-note about what happens to your Task when you use Task.WaitAsync(). Namely, that even if the WaitAsync() call is cancelled or times-out, the original Task continues running in the background.


0 comments