|
HikoGUI
A low latency retained GUI
|
#include <hikogui/coroutine/task.hpp>
Public Types | |
| using | value_type = T |
| using | promise_type = task_promise<value_type> |
| using | handle_type = std::coroutine_handle<promise_type> |
Public Member Functions | |
| task (handle_type coroutine) | |
| task (task const &)=delete | |
| task (task &&)=delete | |
| task & | operator= (task const &)=delete |
| task & | operator= (task &&)=delete |
Co-routine task.
| T | The type returned by co_return. |