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