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

Method do_loop

tee/cocoon/pow.cpp:185–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183 }
184
185 td::Status do_loop() {
186 TRY_STATUS(td::loop_read("pow-client", pipe_));
187 auto status = run();
188 if (status.code() != WaitCode) {
189 return status;
190 }
191 TRY_STATUS(td::loop_write("pow-client", pipe_));
192 return td::Status::OK();
193 }
194
195 td::actor::Task<Action> task_loop_once() override {
196 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