File: //home/cafsindia/snap.cafsinfotech.in/node_modules/@sentry/browser/types/profiling/integration.d.ts
import type { EventProcessor, Hub, Integration } from '@sentry/types';
/**
* Browser profiling integration. Stores any event that has contexts["profile"]["profile_id"]
* This exists because we do not want to await async profiler.stop calls as transaction.finish is called
* in a synchronous context. Instead, we handle sending the profile async from the promise callback and
* rely on being able to pull the event from the cache when we need to construct the envelope. This makes the
* integration less reliable as we might be dropping profiles when the cache is full.
*
* @experimental
*/
export declare class BrowserProfilingIntegration implements Integration {
static id: string;
readonly name: string;
getCurrentHub?: () => Hub;
constructor();
/**
* @inheritDoc
*/
setupOnce(_addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void;
}
//# sourceMappingURL=integration.d.ts.map