diff options
Diffstat (limited to 'base/timer.h')
-rw-r--r-- | base/timer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/timer.h b/base/timer.h index eb00486..706551f 100644 --- a/base/timer.h +++ b/base/timer.h @@ -206,6 +206,9 @@ class RepeatingTimer : public BaseTimer<Receiver, true> {}; // Once created, it is inactive until Reset is called. Once |delay| seconds have // passed since the last call to Reset, the callback is made. Once the callback // has been made, it's inactive until Reset is called again. +// +// If destroyed, the timeout is canceled and will not occur even if already +// inflight. template <class Receiver> class DelayTimer { public: |