MCPcopy
hub / github.com/TanStack/query / Persister

Interface Persister

packages/query-persist-client-core/src/persist.ts:12–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10export type Promisable<T> = T | PromiseLike<T>
11
12export interface Persister {
13 persistClient: (persistClient: PersistedClient) => Promisable<void>
14 restoreClient: () => Promisable<PersistedClient | undefined>
15 removeClient: () => Promisable<void>
16}
17
18export interface PersistedClient {
19 timestamp: number

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…