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

Method done

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

Source from the content-addressed store, hash-verified

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;
88 };

Callers

nothing calls this directly

Calls 1

doneMethod · 0.45

Tested by

no test coverage detected