@junobuild/analytics
Version:
Tracker for Juno analytics
12 lines (11 loc) • 466 B
TypeScript
import type { SetPerformanceMetricRequestEntry } from '../types/orbiter';
type PostPerformanceMetric = (entry: SetPerformanceMetricRequestEntry) => Promise<void>;
export declare class PerformanceServices {
startPerformance({ sessionId, postPerformanceMetric }: {
sessionId: string;
postPerformanceMetric: PostPerformanceMetric;
}): Promise<void>;
private static setPerformanceMetric;
private static mapPerformanceMetric;
}
export {};