@rocket.chat/forked-matrix-bot-sdk
Version:
TypeScript/JavaScript SDK for Matrix bots and appservices
16 lines (15 loc) • 633 B
TypeScript
/**
* Times a MatrixClient function call for metrics.
* @category Metrics
*/
export declare function timedMatrixClientFunctionCall(): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
/**
* Times an IdentityClient function call for metrics.
* @category Metrics
*/
export declare function timedIdentityClientFunctionCall(): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
/**
* Times an Intent function call for metrics.
* @category Metrics
*/
export declare function timedIntentFunctionCall(): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;