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

Function notify

cf/src/index.js:200–202  ·  view source on GitHub ↗
(channel, payload)

Source from the content-addressed store, hash-verified

198 }
199
200 async function notify(channel, payload) {
201 return await sql`select pg_notify(${ channel }, ${ '' + payload })`
202 }
203
204 async function reserve() {
205 const queue = Queue()

Callers

nothing calls this directly

Calls 1

sqlFunction · 0.70

Tested by

no test coverage detected