Documentation
Classes | |
struct | ttg::resumable_task_events< N > |
Functions | |
template<typename... Events> | |
ttg::resumable_task_events (Events &&...) -> resumable_task_events< sizeof...(Events)> | |
bool | ttg::resumable_task::ready () const |
bool | ttg::resumable_task::completed () const |
ttg::span< event * > | ttg::resumable_task::events () |
Function Documentation
◆ completed()
|
inline |
- Returns
- true if task completed and can be destroyed
Definition at line 160 of file coroutine.h.
◆ events()
|
inline |
- Returns
- ttg::span of events that this task depends on
Definition at line 161 of file coroutine.h.
◆ ready()
|
inline |
- Returns
- true if ready to resume
Definition at line 159 of file coroutine.h.
◆ resumable_task_events()
template<typename... Events>
ttg::resumable_task_events | ( | Events && | ... | ) | -> resumable_task_events< sizeof...(Events)> |