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

Method Count

server/tick/tick.go:99–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97}
98
99func (mgr *TickManager) Count() int {
100 mgr.mu.RLock()
101 defer mgr.mu.RUnlock()
102 return len(mgr.tickers)
103}
104
105func (mgr *TickManager) Remove(ticker *time.Ticker) (ok bool) {
106 for _, t := range mgr.tickers {

Callers 1

tick.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected