Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/GoEdgeLab/EdgeNode
/ Stop
Method
Stop
internal/utils/ticker.go:39–44 ·
view source on GitHub ↗
Stop 停止
()
Source
from the content-addressed store, hash-verified
37
38
// Stop 停止
39
func
(this *Ticker) Stop() {
40
this.once.Do(
func
() {
41
this.raw.Stop()
42
this.done <- zero.New()
43
})
44
}
Callers
3
TestTicker
Function · 0.95
TestTicker2
Function · 0.95
TestTicker_StopTwice
Function · 0.95
Calls
3
New
Function · 0.92
Do
Method · 0.80
Stop
Method · 0.65
Tested by
3
TestTicker
Function · 0.76
TestTicker2
Function · 0.76
TestTicker_StopTwice
Function · 0.76