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

Function projectsQueryKey

examples/lit/pagination/src/api.ts:96–102  ·  view source on GitHub ↗
(
  page: number,
  delayMs: number,
  forceError: boolean,
)

Source from the content-addressed store, hash-verified

94}
95
96export function projectsQueryKey(
97 page: number,
98 delayMs: number,
99 forceError: boolean,
100): ProjectsQueryKey {
101 return ['projects', page, delayMs, forceError] as const
102}
103
104export async function fetchProjectsPage(
105 page: number,

Callers 3

constructorMethod · 0.90
prefetchPageMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected