MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / Next

Method Next

internal/utils/ticker.go:29–36  ·  view source on GitHub ↗

Next 查找下一个Tick

()

Source from the content-addressed store, hash-verified

27
28// Next 查找下一个Tick
29func (this *Ticker) Next() bool {
30 select {
31 case <-this.raw.C:
32 return true
33 case <-this.done:
34 return false
35 }
36}
37
38// Stop 停止
39func (this *Ticker) Stop() {

Calls

no outgoing calls