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

Function resolvePromise

packages/query-core/src/__tests__/hydration.test.tsx:650–650  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

648
649 let isInitialFetch = true
650 let resolvePromise: (value: unknown) => void = () => undefined
651
652 const customFetchData = () => {
653 const promise = new Promise((resolve) => {

Callers 2

customFetchDataFunction · 0.85
hydration.test.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…