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

Function observer

src/persisters/persister-sqlite3/index.ts:37–38  ·  view source on GitHub ↗
(_: any, _2: any, tableName: string)

Source from the content-addressed store, hash-verified

35 ),
36 (listener: DatabaseChangeListener): Observer => {
37 const observer = (_: any, _2: any, tableName: string) =>
38 listener(tableName);
39 db.on(CHANGE, observer);
40 return observer;
41 },

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…