MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / await_suspend

Method await_suspend

tests/EduCoroutineCoAwaitOperatorTest.cpp:43–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 bool await_ready() const { return duration.count() <= 0; }
42 void await_resume() {}
43 void await_suspend(std::coroutine_handle<> h) { }
44 };
45
46 return awaiter{d};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected