MCPcopy Create free account
hub / github.com/catboost/catboost / AsyncWaitExpireAt

Method AsyncWaitExpireAt

library/cpp/neh/asio/asio.cpp:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 void TDeadlineTimer::AsyncWaitExpireAt(TDeadline deadline, THandler h) {
63 if (!Impl_) {
64 Impl_ = new TDeadlineTimer::TImpl(Srv_.GetImpl());
65 Srv_.GetImpl().ScheduleOp(new TRegisterTimerOperation(Impl_));
66 }
67 Impl_->AsyncWaitExpireAt(deadline, h);
68 }
69
70 void TDeadlineTimer::Cancel() {
71 Impl_->Cancel();

Callers 2

OnAcceptMethod · 0.45
OnAcceptMethod · 0.45

Calls 2

ScheduleOpMethod · 0.80
GetImplMethod · 0.45

Tested by

no test coverage detected