| 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(); |
no test coverage detected