C++ coroutines: The mental model for coroutine promises--Raymond Chen
More about coroutines.
C++ coroutines: The mental model for coroutine promises
by Raymond Chen
From the article:
My earlier series on getting started with awaitable objects looked at how you produce awaitable objects, but up until now we haven’t been looking at the other side: How can you be an object that can await other objects?