Browse Source

chore: add doc (#1764)

Kevin Wan 3 years ago
parent
commit
4e48286838
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/collection/timingwheel.go

+ 1 - 1
core/collection/timingwheel.go

@@ -129,7 +129,7 @@ func (tw *TimingWheel) SetTimer(key, value interface{}, delay time.Duration) {
 	}
 }
 
-// Stop stops tw.
+// Stop stops tw. No more actions after stopping a TimingWheel.
 func (tw *TimingWheel) Stop() {
 	close(tw.stopChannel)
 }