pip-services3-components-node
Version:
Component definitions for Pip.Services in Node.js
18 lines (17 loc) • 524 B
text/typescript
/** @module count */
/**
* Interface for a callback to end measurement of execution elapsed time.
*
* @see [[CounterTiming]]
*/
export interface ICounterTimingCallback {
/**
* Ends measurement of execution elapsed time and updates specified counter.
*
* @param name a counter name
* @param elapsed execution elapsed time in milliseconds to update the counter.
*
* @see [[CounterTiming.endTiming]]
*/
endTiming(name: string, elapsed: number): void;
}