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

Method onQueryUpdate

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

Source from the content-addressed store, hash-verified

697 }
698
699 onQueryUpdate(): void {
700 this.updateResult()
701
702 if (this.hasListeners()) {
703 this.#updateTimers()
704 }
705 }
706
707 #notify(notifyOptions: { listeners: boolean }): void {
708 notifyManager.batch(() => {

Callers 1

#dispatchMethod · 0.80

Calls 3

updateResultMethod · 0.95
#updateTimersMethod · 0.95
hasListenersMethod · 0.80

Tested by

no test coverage detected