MCPcopy Index your code
hub / github.com/TanStack/db / QueryCollectionState

Interface QueryCollectionState

packages/query-db-collection/src/query.ts:221–229  ·  view source on GitHub ↗

* Internal state object for tracking query observer and errors

Source from the content-addressed store, hash-verified

219 * Internal state object for tracking query observer and errors
220 */
221interface QueryCollectionState {
222 lastError: any
223 errorCount: number
224 lastErrorUpdatedAt: number
225 observers: Map<
226 string,
227 QueryObserver<Array<any>, any, Array<any>, Array<any>, any>
228 >
229}
230
231type PersistedQueryRetentionEntry =
232 | {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…