MCPcopy Create free account
hub / github.com/TelegramMessenger/cocoon / do_loop

Method do_loop

tee/cocoon/pow.cpp:101–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100
101 td::Status do_loop() {
102 TRY_STATUS(td::loop_read("pow-server", pipe_));
103 auto status = run();
104 if (status.code() != WaitCode) {
105 return status;
106 }
107 TRY_STATUS(td::loop_write("pow-server", pipe_));
108 return td::Status::OK();
109 }
110
111 td::actor::Task<Action> task_loop_once() override {
112 co_await do_loop();

Callers

nothing calls this directly

Calls 4

loop_readFunction · 0.85
runFunction · 0.85
loop_writeFunction · 0.85
codeMethod · 0.80

Tested by

no test coverage detected