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

Method await_suspend

tests/EduCoroutineStaticVarTest.cpp:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51};
52
53void awaiter::await_suspend(std::coroutine_handle<> coro) const noexcept
54{
55 _sched->_tasks.push_back(coro);
56}
57
58Task taskA(Scheduler& sched)
59{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected