EPISODE · Nov 11, 2019 · 36 MIN
#133 Brandon Minnick, Async Await - Common Mistakes, Part 1
from no dogma podcast · host Bryan Hogan
Summary Brandon Minnick of Microsoft talks about common mistakes when using async/await, and offers solutions. Details Who he is, what he does. What asynchronous programming is, calling code that will return an answer in the future; multithreading. How to make a synchronous method asynchronous, freeing the calling thread; what the compiler does with async code - awaits, switch statements, move next and try catch. Calling async from sync, don't use .Result() it's a blocking call, .Result() throws an aggregate exception; use .GetAwaiter().GetResult(). Full show notes
Embed this episode
What this episode covers
Brandon Minnick of Microsoft talks about common mistakes when using async/await, and offers solutions.
NOW PLAYING
#133 Brandon Minnick, Async Await - Common Mistakes, Part 1
No transcript for this episode yet
Similar Episodes
No similar episodes found.
Similar Podcasts
No similar podcasts found.