Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/TanStack/query
/ getCurrentResult
Method
getCurrentResult
packages/query-core/src/queryObserver.ts:260–262 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
258
}
259
260
getCurrentResult(): QueryObserverResult<TData, TError> {
261
return
this.#currentResult
262
}
263
264
trackResult(
265
result: QueryObserverResult<TData, TError>,
Callers
15
useBaseQuery
Function · 0.45
updater
Function · 0.45
run
Function · 0.45
useBaseQuery
Function · 0.45
useMutation
Function · 0.45
useQueries
Function · 0.45
injectMutation
Function · 0.45
shouldAssignObserverCurrentProperties
Function · 0.45
isStale
Method · 0.45
queriesObserver.test.tsx
File · 0.45
queryClient.test.tsx
File · 0.45
streamedQuery.test.tsx
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected