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

Method task_loop_once

tee/cocoon/pow.cpp:111–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 td::actor::Task<Action> task_loop_once() override {
112 co_await do_loop();
113 co_return state_ == State::Done ? Action::Finish : Action::KeepRunning;
114 }
115
116 td::actor::Task<td::SocketPipe> finish(td::Status status) override {
117 co_await std::move(status);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected