@exodus/walletconnect-time
Version:
12 lines (11 loc) • 346 B
TypeScript
export interface TimestampInfo {
started: number;
elapsed?: number;
}
export declare abstract class IWatch {
abstract timestamps: Map<string, TimestampInfo>;
abstract start(label: string): void;
abstract stop(label: string): void;
abstract get(label: string): TimestampInfo;
abstract elapsed(label: string): number;
}