Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
15 lines
719 B
Plaintext
15 lines
719 B
Plaintext
import { Sampled, Session, SessionOptions } from '../types';
|
|
/**
|
|
* Get the sampled status for a session based on sample rates & current sampled status.
|
|
*/
|
|
export declare function getSessionSampleType(sessionSampleRate: number, allowBuffering: boolean): Sampled;
|
|
/**
|
|
* Create a new session, which in its current implementation is a Sentry event
|
|
* that all replays will be saved to as attachments. Currently, we only expect
|
|
* one of these Sentry events per "replay session".
|
|
*/
|
|
export declare function createSession({ sessionSampleRate, allowBuffering, stickySession }: SessionOptions, { previousSessionId }?: {
|
|
previousSessionId?: string;
|
|
}): Session;
|
|
//# sourceMappingURL=createSession.d.ts.map
|