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

Method set_timer

tee/test/cocoon.cpp:140–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138 DelayedAction(T promise) : promise_(std::move(promise)) {
139 }
140 void set_timer(td::Timestamp t) {
141 alarm_timestamp() = t;
142 }
143 void alarm() override {
144 promise_();
145 stop();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected