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

Method do_loop

tee/cocoon/FwdProxy.cpp:198–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196 }
197
198 td::Status do_loop() {
199 TRY_STATUS(td::loop_read("left", pipe_));
200 auto status = run();
201 if (status.code() != WaitCode) {
202 return status;
203 }
204 TRY_STATUS(td::loop_write("left", pipe_));
205 return td::Status::OK();
206 }
207
208 td::actor::Task<Action> task_loop_once() override {
209 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