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

Method valuesNeeded

packages/db/src/collection/subscription.ts:517–517  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

515 }
516
517 const valuesNeeded = () => Math.max(limit - changes.length, 0)
518 const collectionExhausted = () => keys.length === 0
519
520 // Create a value extractor for the orderBy field to properly track the biggest indexed value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected