from Hacker News

Internals of the async/await pattern from first principles

by Dobiasd on 3/19/24, 6:09 PM with 15 comments

  • by happytoexplain on 3/20/24, 11:53 AM

    Regarding the second code snippet - I've never seen this language feature before. Obviously there are things sometimes called generators implemented as structures, where 'step' or 'next' is just a normal method, but is there a real world example of what is shown?
  • by _nalply on 3/19/24, 8:57 PM

    Which programming language is that?