mirror of
https://github.com/luxfi/node.git
synced 2026-07-27 03:39:39 +00:00
13 lines
356 B
Go
13 lines
356 B
Go
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package timer
|
|
|
|
// Meter tracks the number of occurrences of a specified event
|
|
type Meter interface {
|
|
// Notify this meter of a new event for it to rate
|
|
Tick()
|
|
// Return the number of events this meter is currently tracking
|
|
Ticks() int
|
|
}
|