UNPKG

@sentry-internal/replay

Version:
12 lines (11 loc) 470 B
import { 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