Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/asio
/ yield_break_coro
Function
yield_break_coro
test/coroutine.cpp:28–35 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
// Coroutine completes via yield break.
27
28
void yield_break_coro(boost::asio::coroutine& coro)
29
{
30
reenter (coro)
31
{
32
yield return;
33
yield break;
34
}
35
}
36
37
void yield_break_test()
38
{
Callers
1
yield_break_test
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected