C# Async/Await/Task Explained (Deep Dive)
In this tutorial we conver the asynchronous programming style in C# we take a deep diving looking at the state machine that the async keyword spawns. How the await keyword creates checkpoints in the state machine. And how the Task class allows us to bridge our code to use the asynchronous programming model.
Source: https://github.com/T0shik/raw-coding-101-tutorials/tree/master/Async%20Await%20Task
I know this topic can be confusing, here is more material on the topic
Videos
Karel Zikmund https://www.youtube.com/watch?v=TgUYcZV-foM
Jeffrey Richter https://www.youtube.com/watch?v=T9UTfymRZXU
Jeffrey Richter (with Demo at 41:55) https://www.youtube.com/watch?v=hB0K1JWFoqs
Adam Krieger (Good info on Thread Pool) https://www.youtube.com/watch?v=NnZCcvAdV_4
Articles
https://devblogs.microsoft.com/premier-developer/dissecting-the-async-methods-in-c/
https://www.codeproject.com/Articles/535635/Async-Await-and-the-Generated-StateMachine
https://ranjeet.dev/understanding-how-async-state-machine-works/
Shop π https://shop.raw-coding.dev
Twitch π₯ https://www.twitch.tv/raw_coding
Discord π¬ https://discord.gg/R9A8yq4
Github ποΈ https://github.com/T0shik
Twitter π£ https://twitter.com/anton_t0shik
Instagram π€³ https://www.instagram.com/anton_t0shik/
Patreon π https://www.patreon.com/raw_coding
Donate π https://streamelements.com/raw_coding/tip
Linode π https://www.linode.com/rawcodingβ
#csharp
Comments are closed.