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

Method onQueryUpdate

packages/query-core/src/queryObserver.ts:828–834  ·  view source on GitHub ↗

@internal

()

Source from the content-addressed store, hash-verified

826
827 /** @internal */
828 onQueryUpdate(): void {
829 this.updateResult()
830
831 if (this.hasListeners()) {
832 this.#updateTimers()
833 }
834 }
835}
836
837function shouldLoadOnMount(

Callers 1

#dispatchMethod · 0.80

Calls 3

updateResultMethod · 0.95
#updateTimersMethod · 0.95
hasListenersMethod · 0.80

Tested by

no test coverage detected