summaryrefslogtreecommitdiffhomepage
path: root/src/timer.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/timer.go')
-rw-r--r--src/timer.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/timer.go b/src/timer.go
index 3def253..f00ca49 100644
--- a/src/timer.go
+++ b/src/timer.go
@@ -43,12 +43,6 @@ func (t *Timer) Reset(dur time.Duration) {
t.Start(dur)
}
-func (t *Timer) Push(dur time.Duration) {
- if t.pending.Get() {
- t.Reset(dur)
- }
-}
-
func (t *Timer) Wait() <-chan time.Time {
return t.timer.C
}