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

Function NotificationResponse

cjs/src/connection.js:827–837  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

825 }
826
827 function NotificationResponse(x) {
828 if (!onnotify)
829 return
830
831 let index = 9
832 while (x[index++] !== 0);
833 onnotify(
834 x.toString('utf8', 9, index - 1),
835 x.toString('utf8', index, x.length - 1)
836 )
837 }
838
839 async function PortalSuspended() {
840 try {

Callers

nothing calls this directly

Calls 1

onnotifyFunction · 0.70

Tested by

no test coverage detected