Skip to content

persistCache

persistCache(cache, storage, opts?): () => void

Defined in: packages/mcp-query/src/core/persist.ts:19

Hydrate cache from storage and keep it saved. Returns a stop() function.

MCPCache

SyncStorage

PersistOptions = {}

() => void