C/C++ API Reference
Loading...
Searching...
No Matches
pw::async2::CoroContext Class Reference

Overview

Context required for creating and executing coroutines.

Public Member Functions

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

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: