UNPKG

@sentry-internal/replay

Version:
11 lines 463 B
import type { Session, SessionOptions } from '../types'; /** * Get or create a session, when initializing the replay. * Returns a session that may be unsampled. */ export declare function loadOrCreateSession({ sessionIdleExpire, maxReplayDuration, previousSessionId, }: { sessionIdleExpire: number; maxReplayDuration: number; previousSessionId?: string; }, sessionOptions: SessionOptions): Session; //# sourceMappingURL=loadOrCreateSession.d.ts.map