MCPcopy Create free account
hub / github.com/tinyplex/tinybase / observer

Function observer

test/unit/persisters/common/databases.ts:162–164  ·  view source on GitHub ↗
(_1: any, _2: any, tableName: string)

Source from the content-addressed store, hash-verified

160 const nextChange = await new Promise<WatchOnChangeEvent>(
161 (resolve) => {
162 const observer = (_1: any, _2: any, tableName: string) => {
163 resolve({changedTables: [tableName]});
164 };
165 sqlite3.update_hook(db, observer);
166 },
167 );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…