Browse Source

chore: add doc (#1764)

Kevin Wan 3 năm trước cách đây
mục cha
commit
4e48286838
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)
 }