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

Method onQueryUpdate

packages/query-core/src/queryObserver.ts:722–728  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

720 }
721
722 onQueryUpdate(): void {
723 this.updateResult()
724
725 if (this.hasListeners()) {
726 this.#updateTimers()
727 }
728 }
729
730 #notify(notifyOptions: { listeners: boolean }): void {
731 notifyManager.batch(() => {

Callers 1

#dispatchMethod · 0.80

Calls 3

updateResultMethod · 0.95
#updateTimersMethod · 0.95
hasListenersMethod · 0.80

Tested by

no test coverage detected