MCPcopy Index your code
hub / github.com/TanStack/query / getQueryFunctionA

Function getQueryFunctionA

packages/react-query/src/__tests__/useQueries.test.tsx:704–706  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

702 const getQueryKeyA = (): QueryKeyA => ['queryA']
703 type GetQueryFunctionA = () => QueryFunction<number, QueryKeyA>
704 const getQueryFunctionA: GetQueryFunctionA = () => () => {
705 return Promise.resolve(1)
706 }
707 type SelectorA = (data: number) => [number, string]
708 const getSelectorA = (): SelectorA => (data) => [data, data.toString()]
709

Callers 1

PageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…