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

Function notifyFn

packages/query-core/src/notifyManager.ts:29–31  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

27 let queue: Array<NotifyCallback> = []
28 let transactions = 0
29 let notifyFn: NotifyFunction = (callback) => {
30 callback()
31 }
32 let batchNotifyFn: BatchNotifyFunction = (callback: () => void) => {
33 callback()
34 }

Callers 2

scheduleFunction · 0.85
flushFunction · 0.85

Calls 1

callbackFunction · 0.85

Tested by

no test coverage detected