MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / Remove

Method Remove

server/tick/tick.go:105–112  ·  view source on GitHub ↗
(ticker *time.Ticker)

Source from the content-addressed store, hash-verified

103}
104
105func (mgr *TickManager) Remove(ticker *time.Ticker) (ok bool) {
106 for _, t := range mgr.tickers {
107 if t == ticker {
108 return true
109 }
110 }
111 return
112}
113
114func (mgr *TickManager) Frequency() time.Duration {
115 return time.Duration(mgr.d.Load())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected