소스 검색

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)
 }