C++20-协程(coroutine)
参考: https://en.cppreference.com/w/cpp/language/coroutinesCoroutinesA coroutine is a function that can suspend execution to be resumed later. Coroutines are stackless: they suspend execution by returning to the caller and the data that is required to