~/talk

Yield and Async–Await: How They Work Internally and How to Use Them

TalkinRussianat DotNext 2018 Moscow · 2018-11-22..11-23· [dotnet, concurrency]
links:none on file
slides:none on file

Explains how C# methods using yield return and async/await are transformed by the compiler into state-machine objects. Describes the exact shape of those generated automata, discusses particular nuances and behaviors, and gives example problems where these compiler-generated state machines can be used.

AI-written summary · about

  1. 0:00Introduction
  2. 6:00ICFP contest task
  3. 10:54Solution strategies
  4. 15:28Iterators and state machines
  5. 21:23Iterator problems
  6. 23:35Async methods and Task
  7. 28:31How async methods work
  8. 34:29Custom Task creation
  9. 37:21TaskBuilder implementation
  10. 41:35Practical use
  11. 43:45Real-world ideas
  12. 48:23Why internals matter
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.