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

Function notify

packages/angular-db/tests/inject-live-query.test.ts:87–89  ·  view source on GitHub ↗
(changes: Array<any> = [])

Source from the content-addressed store, hash-verified

85 const id = `mock-col-` + Math.random().toString(36).slice(2)
86
87 const notify = (changes: Array<any> = []) => {
88 for (const cb of subs) cb(changes)
89 }
90
91 const notifyReady = () => {
92 for (const cb of readySubs) cb()

Callers 1

createMockCollectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…