dot-xx
A personal collection of small C++ modules
|
A single connection handler coroutine task. More...
Classes | |
struct | promise_type |
Public Member Functions | |
SimpleTask (const std::coroutine_handle< promise_type > &c_handle) | |
SimpleTask (const SimpleTask &)=delete | |
SimpleTask & | operator= (const SimpleTask &)=delete |
SimpleTask (SimpleTask &&other) | |
SimpleTask & | operator= (SimpleTask &&other) |
void | force_resume () |
std::coroutine_handle< promise_type > | release () |
Release ownership of the handle and invalidate the object. | |
const auto & | get_handle () const |
Friends | |
struct | SimpleTask::promise_type |
A single connection handler coroutine task.