Context required for creating and executing coroutines.
|
|
class | Dispatcher |
| |
|
class | internal::CoroPromiseBase |
| |
◆ CoroContext()
| constexpr pw::async2::CoroContext::CoroContext |
( |
Allocator & |
allocator | ) |
|
|
inlineconstexpr |
Creates a CoroContext, which uses the provided allocator to allocate coroutine state. A CoroContext may be used to invoke other coroutines.
Supports implicit conversion to simplify creating coroutines.
The documentation for this class was generated from the following file:
- pw_async2/public/pw_async2/coro.h