MCPcopy Create free account
hub / github.com/baidu/babylon / SimpleTask

Method SimpleTask

test/coroutine/test_task.cpp:46–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 ::std::coroutine_handle<> awaiter {::std::noop_coroutine()};
45 };
46 SimpleTask(::std::coroutine_handle<promise_type> handle) {
47 this->handle = handle;
48 }
49 SimpleTask(SimpleTask&& other) {
50 handle = ::std::exchange(other.handle, nullptr);
51 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected