Context required for creating and executing coroutines. More...
#include <coro.h>
Public Member Functions | |
CoroContext (pw::allocator::Allocator &alloc) | |
pw::allocator::Allocator & | alloc () const |
Context required for creating and executing coroutines.
|
inlineexplicit |
Creates a CoroContext
which will allocate coroutine state using alloc
.