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
30 lines
981 B
Plaintext
30 lines
981 B
Plaintext
import type { AddEventResult, EventBuffer, EventBufferType, RecordingEvent } from '../types';
|
|
/**
|
|
* A basic event buffer that does not do any compression.
|
|
* Used as fallback if the compression worker cannot be loaded or is disabled.
|
|
*/
|
|
export declare class EventBufferArray implements EventBuffer {
|
|
/** All the events that are buffered to be sent. */
|
|
events: RecordingEvent[];
|
|
/** @inheritdoc */
|
|
hasCheckout: boolean;
|
|
/** @inheritdoc */
|
|
waitForCheckout: boolean;
|
|
private _totalSize;
|
|
constructor();
|
|
/** @inheritdoc */
|
|
get hasEvents(): boolean;
|
|
/** @inheritdoc */
|
|
get type(): EventBufferType;
|
|
/** @inheritdoc */
|
|
destroy(): void;
|
|
/** @inheritdoc */
|
|
addEvent(event: RecordingEvent): Promise<AddEventResult>;
|
|
/** @inheritdoc */
|
|
finish(): Promise<string>;
|
|
/** @inheritdoc */
|
|
clear(): void;
|
|
/** @inheritdoc */
|
|
getEarliestTimestamp(): number | null;
|
|
}
|
|
//# sourceMappingURL=EventBufferArray.d.ts.map |