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

Function getQueryFunctionB

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

Source from the content-addressed store, hash-verified

711 const getQueryKeyB = (id: string): QueryKeyB => ['queryB', id]
712 type GetQueryFunctionB = () => QueryFunction<string, QueryKeyB>
713 const getQueryFunctionB: GetQueryFunctionB = () => () => {
714 return Promise.resolve('1')
715 }
716 type SelectorB = (data: string) => [string, number]
717 const getSelectorB = (): SelectorB => (data) => [data, +data]
718

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…