import { IMetricContext } from "./contexts" ; category export interface IMetricListener { param { string } metricName param { IMetricContext } context onStartMetric ( metricName , context ) : void ; param { string } metricName param { any } context param { number } timeMs onEndMetric ( metricName , context , timeMs ) : void ; param { string } metricName param { IMetricContext } context param { number } amount onIncrement ( metricName , context , amount ) ; param { string } metricName param { IMetricContext } context param { number } amount onDecrement ( metricName , context , amount ) ; param { string } metricName param { IMetricContext } context onReset ( metricName , context ) ; }