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

Function main

example/when_any.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48int main() {
49 io_context ctx;
50 ctx.co_spawn(run());
51 ctx.start();
52 ctx.join();
53 return 0;
54}

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