UNPKG

@tanstack/query-persist-client-core

Version:

Set of utilities for interacting with persisters, which can save your queryClient for later use

12 lines (9 loc) 328 B
import { PersistedClient } from './persist.js'; import '@tanstack/query-core'; type PersistRetryer = (props: { persistedClient: PersistedClient; error: Error; errorCount: number; }) => PersistedClient | undefined; declare const removeOldestQuery: PersistRetryer; export { type PersistRetryer, removeOldestQuery };