MCPcopy Create free account
hub / github.com/Codesire-Deng/co_context / main

Function main

example/when_all.cpp:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33int main() {
34 io_context ctx;
35 ctx.co_spawn(run());
36 ctx.start();
37 ctx.join();
38 return 0;
39}

Callers

nothing calls this directly

Calls 4

startMethod · 0.80
joinMethod · 0.80
runFunction · 0.70
co_spawnMethod · 0.45

Tested by

no test coverage detected