MCPcopy Create free account
hub / github.com/TanStack/query / _optimisticResults

Function _optimisticResults

packages/solid-query/src/useQueries.ts:208–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206 client().defaultQueryOptions(options as QueryObserverOptions),
207 {
208 get _optimisticResults() {
209 return isRestoring() ? 'isRestoring' : 'optimistic'
210 },
211 },
212 ),
213 ),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected