Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Codesire-Deng/co_context
/ main
Function
main
example/stop_token.cpp:40–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
}
39
40
int main() {
41
io_context ctx;
42
ctx.co_spawn(f());
43
ctx.start();
44
ctx.join();
45
return 0;
46
}
Callers
nothing calls this directly
Calls
4
start
Method · 0.80
join
Method · 0.80
f
Function · 0.70
co_spawn
Method · 0.45
Tested by
no test coverage detected