Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ queryFn
Function
queryFn
packages/query-core/src/__tests__/queryObserver.test.tsx:400–400 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
398
let count = 0
399
const results: Array<QueryObserverResult> = []
400
const queryFn = () => ({ count: 1 })
401
const select1 = (data: ReturnType<typeof queryFn>) => {
402
count++
403
return { myCount: data.count }
Callers
nothing calls this directly
Calls
1
sleep
Function · 0.90
Tested by
no test coverage detected