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

Method init_actor

runners/TonlibWrapper.cpp:89–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void TonlibWrapper::init_actor() {
90 if (!impl_) {
91 impl_ = std::make_shared<TonlibClientImpl>();
92 impl_->actor_ = td::actor::create_actor<TonlibClientWrapperActor>("TonlibClientWrapper");
93 }
94}
95td::StringBuilder &operator<<(td::StringBuilder &sb, const TonlibWrapper::SyncInfo &info) {
96 sb << "{blockchain_ts=" << info.last_synced_ts << " ("
97 << date::format("%F %T", std::chrono::system_clock::time_point{std::chrono::seconds{info.last_synced_ts}})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected