MCPcopy Create free account
hub / github.com/SvelteStack/svelte-query / notify

Method notify

src/queryCore/core/queryCache.ts:182–188  ·  view source on GitHub ↗
(event: QueryCacheNotifyEvent)

Source from the content-addressed store, hash-verified

180 }
181
182 notify(event: QueryCacheNotifyEvent) {
183 notifyManager.batch(() => {
184 this.listeners.forEach(listener => {
185 listener(event)
186 })
187 })
188 }
189
190 onFocus(): void {
191 notifyManager.batch(() => {

Callers 6

addMethod · 0.95
removeMethod · 0.95
dispatchMethod · 0.45
addObserverMethod · 0.45
removeObserverMethod · 0.45
dispatchMethod · 0.45

Calls 1

batchMethod · 0.80

Tested by

no test coverage detected