Pigweed
C/C++ API Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
Public Member Functions | List of all members
pw::async2::CoroContext Class Reference

Context required for creating and executing coroutines. More...

Public Member Functions

 CoroContext (pw::allocator::Allocator &alloc)
 
pw::allocator::Allocatoralloc () const
 

Detailed Description

Context required for creating and executing coroutines.

Constructor & Destructor Documentation

◆ CoroContext()

pw::async2::CoroContext::CoroContext ( pw::allocator::Allocator alloc)
inlineexplicit

Creates a CoroContext which will allocate coroutine state using alloc.


The documentation for this class was generated from the following file: