HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
v1::task< T > Class Template Reference

#include <hikogui/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

Detailed Description

template<typename T = void>
class v1::task< T >

Co-routine task.

Template Parameters
TThe type returned by co_return.

The documentation for this class was generated from the following file: