@azure/msal-browser
Version:
Microsoft Authentication Library for js
19 lines • 1.01 kB
TypeScript
import { InProgressPerformanceEvent, IPerformanceClient, PerformanceClient } from "@azure/msal-common/browser";
import { Configuration } from "../config/Configuration.js";
export declare class BrowserPerformanceClient extends PerformanceClient implements IPerformanceClient {
constructor(configuration: Configuration, intFields?: Set<string>);
generateId(): string;
private getPageVisibility;
private getOnlineStatus;
private deleteIncompleteSubMeasurements;
/**
* Starts measuring performance for a given operation. Returns a function that should be used to end the measurement.
* Also captures browser page visibilityState.
*
* @param {PerformanceEvents} measureName
* @param {?string} [correlationId]
* @returns {((event?: Partial<PerformanceEvent>) => PerformanceEvent| null)}
*/
startMeasurement(measureName: string, correlationId?: string): InProgressPerformanceEvent;
}
//# sourceMappingURL=BrowserPerformanceClient.d.ts.map