Files
klz-cables.com/.pnpm-store/v10/files/5d/63e9483344abefd04737578c4c56ec0cf285f18140212c6acbde1f20463b8aa4a3b8d280e9901a99479c7745551880997caef2fffa780a7e70bb2cd8913ec4
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

52 lines
1.6 KiB
Plaintext

import type { ReplayRecordingData } from '@sentry/core';
import type { AddEventResult, EventBuffer, EventBufferType, RecordingEvent } from '../types';
/**
* Event buffer that uses a web worker to compress events.
* Exported only for testing.
*/
export declare class EventBufferCompressionWorker implements EventBuffer {
/** @inheritdoc */
hasCheckout: boolean;
/** @inheritdoc */
waitForCheckout: boolean;
private _worker;
private _earliestTimestamp;
private _totalSize;
constructor(worker: Worker);
/** @inheritdoc */
get hasEvents(): boolean;
/** @inheritdoc */
get type(): EventBufferType;
/**
* Ensure the worker is ready (or not).
* This will either resolve when the worker is ready, or reject if an error occurred.
*/
ensureReady(): Promise<void>;
/**
* Destroy the event buffer.
*/
destroy(): void;
/**
* Add an event to the event buffer.
*
* Returns true if event was successfully received and processed by worker.
*/
addEvent(event: RecordingEvent): Promise<AddEventResult>;
/**
* Finish the event buffer and return the compressed data.
*/
finish(): Promise<ReplayRecordingData>;
/** @inheritdoc */
clear(): void;
/** @inheritdoc */
getEarliestTimestamp(): number | null;
/**
* Send the event to the worker.
*/
private _sendEventToWorker;
/**
* Finish the request and return the compressed data from the worker.
*/
private _finishRequest;
}
//# sourceMappingURL=EventBufferCompressionWorker.d.ts.map