MCPcopy Create free account
hub / github.com/TanStack/db / parseSnapshotMessage

Function parseSnapshotMessage

packages/electric-db-collection/src/electric.ts:324–330  ·  view source on GitHub ↗
(message: SnapshotEndMessage)

Source from the content-addressed store, hash-verified

322}
323
324function parseSnapshotMessage(message: SnapshotEndMessage): PostgresSnapshot {
325 return {
326 xmin: message.headers.xmin,
327 xmax: message.headers.xmax,
328 xip_list: message.headers.xip_list,
329 }
330}
331
332function toStableSerializable(value: unknown): unknown {
333 if (value == null) {

Callers 1

createElectricSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected