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

Method task_loop_once

tee/cocoon/FwdProxy.cpp:208–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206 }
207
208 td::actor::Task<Action> task_loop_once() override {
209 co_await do_loop();
210 co_return state_ == State::Done ? Action::Finish : Action::KeepRunning;
211 }
212
213 td::actor::Task<Answer> finish(td::Status status) override {
214 LOG(INFO) << "Finish: status=" << status;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected