@atomist/sdm-pack-aspect
Version:
an Atomist SDM Extension Pack for visualizing drift across an organization
12 lines • 374 B
TypeScript
/**
* Log the timing of this function
* @param {string} description
* @param {() => Promise<T>} what
* @return {Promise<T>}
*/
export declare function showTiming<T>(description: string, what: () => Promise<T>): Promise<T>;
export declare function time<T>(what: () => Promise<T>): Promise<{
result: T;
millis: number;
}>;
//# sourceMappingURL=showTiming.d.ts.map