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

Function wthrow

test/join.cpp:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39static cobalt::promise<void> wthrow(bool throw_ = false)
40{
41 if (throw_)
42 co_await asio::post(co_await cobalt::this_coro::executor, cobalt::use_op);
43 throw std::runtime_error("wthrow");
44 co_return;
45}
46
47static cobalt::promise<void> wnever()
48{

Callers 1

CO_TEST_CASEFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected