MCPcopy Create free account
hub / github.com/porsager/postgres / onnotify

Function onnotify

cjs/src/index.js:162–164  ·  view source on GitHub ↗
(c, x)

Source from the content-addressed store, hash-verified

160 })
161 },
162 onnotify(c, x) {
163 c in listen.channels && listen.channels[c].listeners.forEach(l => l.fn(x))
164 }
165 }))
166
167 const channels = listen.channels || (listen.channels = {})

Callers 1

NotificationResponseFunction · 0.70

Calls 1

forEachMethod · 0.65

Tested by

no test coverage detected