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

Function main

example/when_some.cpp:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42int main() {
43 io_context ctx;
44 ctx.co_spawn(run());
45 ctx.start();
46 ctx.join();
47 return 0;
48}

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