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

Function main

example/redis_echo.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22int main() {
23 io_context ctx;
24 ctx.co_spawn(server());
25 ctx.start();
26 ctx.join();
27 return 0;
28}

Callers

nothing calls this directly

Calls 4

startMethod · 0.80
joinMethod · 0.80
serverFunction · 0.70
co_spawnMethod · 0.45

Tested by

no test coverage detected