Introduction
Get introduced to the concepts we will learn in this chapter.
We'll cover the following...
The generator class implemented in the previous chapter helped us to use coroutines for building lazily evaluated sequences. C++ coroutines can also be used for asynchronous programming by having a coroutine represent an asynchronous computation or an asynchronous task. Although asynchronous programming is the most important driver for having coroutines in C++, there is no support for asynchronous tasks based on coroutines in the standard library.
Access this course and 1400+ top-rated courses and projects.