Optionalopts: BrowserSinkOptionsPersist a single event for a session.
Unique identifier for grouping related events. Used for partitioning and log file naming.
The trace event to persist. See TracerEvent for structure.
Void or Promise
Public flush: serialized, drains RAM buffers (-> IDB if enabled) then IDB in batchSize chunks with sendBeacon/fetch.
Deterministic shutdown, idempotent, clears timers and handlers, drains fully.
BrowserSink Buffered (or immediate) delivery of JSONL batches to an HTTP endpoint from the browser.