MCPcopy Create free account
hub / github.com/boostorg/asio / run_throwing_generator_test

Function run_throwing_generator_test

test/experimental/coro/exception.cpp:104–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102};
103
104void run_throwing_generator_test()
105{
106 boost::asio::io_context ctx;
107 boost::asio::co_spawn(ctx, throwing_generator_test(), boost::asio::detached);
108 ctx.run();
109}
110
111boost::asio::experimental::coro<int(int)> throwing_stacked(
112 boost::asio::any_io_executor exec, int &val,

Callers

nothing calls this directly

Calls 3

throwing_generator_testFunction · 0.85
co_spawnFunction · 0.50
runMethod · 0.45

Tested by

no test coverage detected