@sentry-internal/replay
Version:
User replays for Sentry
11 lines • 463 B
TypeScript
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