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

Function isBufferingInitialSync

packages/electric-db-collection/src/electric.ts:1448–1449  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1446 // Progressive mode state
1447 // Helper to determine if we're buffering the initial sync
1448 const isBufferingInitialSync = () =>
1449 syncMode === `progressive` && !hasReceivedUpToDate
1450 const bufferedMessages: Array<Message<T>> = [] // Buffer change messages during initial sync
1451
1452 // Track keys that have been synced to handle overlapping subset queries.

Callers 2

loadSubsetFunction · 0.85
createElectricSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected