You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The NilTimer implements the Timer's Time(func()) method but does so as a noop. In order to preserve behavior for callers which use this method and rely on the argument being executed, the NilTimer should execute the function that is passed to it.
The NilTimer implements the Timer's
Time(func())
method but does so as a noop. In order to preserve behavior for callers which use this method and rely on the argument being executed, theNilTimer
should execute the function that is passed to it.https://github.com/rcrowley/go-metrics/blob/master/timer.go#L129
The text was updated successfully, but these errors were encountered: