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

Method notify

packages/query-core/src/mutationCache.ts:223–229  ·  view source on GitHub ↗
(event: MutationCacheNotifyEvent)

Source from the content-addressed store, hash-verified

221 }
222
223 notify(event: MutationCacheNotifyEvent) {
224 notifyManager.batch(() => {
225 this.listeners.forEach((listener) => {
226 listener(event)
227 })
228 })
229 }
230
231 resumePausedMutations(): Promise<unknown> {
232 const pausedMutations = this.getAll().filter((x) => x.state.isPaused)

Callers 3

addMethod · 0.95
removeMethod · 0.95
clearMethod · 0.95

Calls 1

listenerFunction · 0.50

Tested by

no test coverage detected