Files
klz-cables.com/.pnpm-store/v10/files/d0/77324f918de5f1de388e67202985ce13ee569bd2b344ca9358af5c7c8021e455662146cb3756a16bc76c7588135ad00cfaaeb56d9867dae944f49fd2f3eb03
Marc Mintel 5397309103
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
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

47 lines
1.6 KiB
Plaintext

import type { ReplayRecordingData } from '@sentry/core';
import type { AddEventResult, EventBuffer, EventBufferType, RecordingEvent } from '../types';
/**
* This proxy will try to use the compression worker, and fall back to use the simple buffer if an error occurs there.
* This can happen e.g. if the worker cannot be loaded.
* Exported only for testing.
*/
export declare class EventBufferProxy implements EventBuffer {
private _fallback;
private _compression;
private _used;
private _ensureWorkerIsLoadedPromise;
constructor(worker: Worker);
/** @inheritdoc */
get waitForCheckout(): boolean;
/** @inheritdoc */
get type(): EventBufferType;
/** @inheritDoc */
get hasEvents(): boolean;
/** @inheritdoc */
get hasCheckout(): boolean;
/** @inheritdoc */
set hasCheckout(value: boolean);
/** @inheritdoc */
set waitForCheckout(value: boolean);
/** @inheritDoc */
destroy(): void;
/** @inheritdoc */
clear(): void;
/** @inheritdoc */
getEarliestTimestamp(): number | null;
/**
* Add an event to the event buffer.
*
* Returns true if event was successfully added.
*/
addEvent(event: RecordingEvent): Promise<AddEventResult>;
/** @inheritDoc */
finish(): Promise<ReplayRecordingData>;
/** Ensure the worker has loaded. */
ensureWorkerIsLoaded(): Promise<void>;
/** Actually check if the worker has been loaded. */
private _ensureWorkerIsLoaded;
/** Switch the used buffer to the compression worker. */
private _switchToCompressionWorker;
}
//# sourceMappingURL=EventBufferProxy.d.ts.map