MCPcopy Create free account
hub / github.com/boostorg/cobalt / throw_post

Function throw_post

test/task.cpp:122–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122cobalt::task<void> throw_post()
123{
124 co_await asio::post(cobalt::this_thread::get_executor(), cobalt::use_op);
125 throw std::runtime_error("throw_");
126 co_return ;
127}
128
129}
130

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.70

Calls 1

get_executorFunction · 0.85

Tested by

no test coverage detected