MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / resume

Method resume

modules/core/task/include/SkrTask/co_task.hpp:84–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 skr_task_t& operator=(skr_task_t&& other) { coroutine = other.coroutine; other.coroutine = nullptr; return *this; }
83 ~skr_task_t() { if(coroutine) coroutine.destroy(); }
84 void resume() { coroutine.resume(); }
85 bool done() const { return coroutine.done(); }
86 explicit operator bool() const { return (bool)coroutine; }
87 std::coroutine_handle<promise_type> coroutine;

Callers 1

operator()Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected