The meaning of life is to explore the world

Async and await brief summary

Posted on By Jason Liu

Please refer to the link below:
https://saebamini.com/common-async-and-await-misconceptions/

Key points:

  1. Async and await is singled threaded.
  2. Concurrency can happen with single threaded asynchronous code.
  3. We don’t need to use async/await in the whole call stack.

  4. “Async void f()” catches the exceptions from enclosed awaiting async, but “async Task f()” doesn’t catch until GC.