HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Types | Public Member Functions
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
 
taskoperator= (task const &)=delete
 
taskoperator= (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: