Starting Jobs with Coroutines
More coroutines.
Starting Jobs with Coroutines
by Rainer Grimm
From the article:
C++20 has three new keywords to make a coroutine out of a function: co_return, co_yield, and co_await. co_await requires an Awaitable as arguments and starts the Awaiter workflow. Let me show in this post, what that means...