Start a timer. Calling the returned function will observe the duration in seconds in the histogram.
Function to invoke when timer should be stopped. The value it returns is the timed duration.
Start a timer. Calling the returned function will observe the duration in seconds in the histogram.
Optional labels: Partial<Record<T, string | number>>Object with label keys and values
Optional Function to invoke when timer should be stopped. The value it returns is the timed duration.
Generated using TypeDoc
Observe value