Pigweed
 
Loading...
Searching...
No Matches
pw::async2::CoroContext Class Reference

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

#include <coro.h>

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: