#include <nCine/Base/Task.h>
template<typename T>
Task struct
Represents an asynchronous operation.
Public types
- struct task_promise
-
using promise_type = task_
promise - using handle_type = std::coroutine_handle<promise_type>
Constructors, destructors, conversion operators
Public functions
- auto await_ready() -> bool
- auto await_suspend(std::coroutine_handle<> handle) -> bool
- auto await_suspend(std::coroutine_handle<promise_type> handle) -> bool
- auto await_resume() -> auto
- auto one_step() -> bool