浏览代码

chore: add doc (#1764)

Kevin Wan 3 年之前
父节点
当前提交
4e48286838
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
 }