Start a timer. Calling the returned function will set the gauge's value to the observed duration in seconds.
Function to invoke when timer should be stopped. The value it returns is the timed duration.
Start a timer. Calling the returned function will set the gauge's value to the observed duration in seconds.
Optional labels: Partial<Record<T, string | number>>Optional Function to invoke when timer should be stopped. The value it returns is the timed duration.
Generated using TypeDoc
Decrement with value