template<typename T>
nCine::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

Task(handle_type handle)
Task(Task&& other) noexcept
~Task()

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

Public variables

handle_type m_handle