MCPcopy 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 停止
39func (this *Ticker) Stop() {
40 this.once.Do(func() {
41 this.raw.Stop()
42 this.done <- zero.New()
43 })
44}

Callers 3

TestTickerFunction · 0.95
TestTicker2Function · 0.95
TestTicker_StopTwiceFunction · 0.95

Calls 3

NewFunction · 0.92
DoMethod · 0.80
StopMethod · 0.65

Tested by 3

TestTickerFunction · 0.76
TestTicker2Function · 0.76
TestTicker_StopTwiceFunction · 0.76