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

Method task_loop_once

tee/cocoon/pow.cpp:195–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 }
194
195 td::actor::Task<Action> task_loop_once() override {
196 co_await do_loop();
197 co_return state_ == State::Done ? Action::Finish : Action::KeepRunning;
198 }
199
200 td::actor::Task<td::SocketPipe> finish(td::Status status) override {
201 co_await std::move(status);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected