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

Function yield_break_test

test/coroutine.cpp:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void yield_break_test()
38{
39 boost::asio::coroutine coro;
40 BOOST_ASIO_CHECK(!coro.is_complete());
41 yield_break_coro(coro);
42 BOOST_ASIO_CHECK(!coro.is_complete());
43 yield_break_coro(coro);
44 BOOST_ASIO_CHECK(coro.is_complete());
45}
46
47//------------------------------------------------------------------------------
48

Callers

nothing calls this directly

Calls 2

yield_break_coroFunction · 0.85
is_completeMethod · 0.80

Tested by

no test coverage detected