UNPKG

@backtrace/sdk-core

Version:
14 lines (13 loc) 467 B
import { BacktraceSessionProvider } from './BacktraceSessionProvider.js'; export declare class SingleSessionProvider implements BacktraceSessionProvider { readonly newSession: boolean; readonly sessionId: string; private _lastActive; get lastActive(): number; afterMetricsSubmission(): void; /** * Allow to alway send metrics - in the single session there is no reason * to skip sending metrics. */ shouldSend(): boolean; }