MCPcopy
hub / github.com/TanStack/query / updater

Function updater

packages/vue-query/src/useBaseQuery.ts:131–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129 }
130
131 const updater = () => {
132 observer.setOptions(defaultedOptions.value)
133 updateState(state, observer.getCurrentResult())
134 }
135
136 watch(defaultedOptions, updater)
137

Callers 1

refetchFunction · 0.85

Calls 3

updateStateFunction · 0.90
setOptionsMethod · 0.45
getCurrentResultMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…