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

Function close

deno/polyfills.js:112–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110 }
111
112 function close() {
113 try {
114 socket.raw && socket.raw.close()
115 } catch (e) {
116 if (e instanceof Deno.errors.BadResource === false)
117 call(socket.events.error, e)
118 }
119 }
120
121 function closed() {
122 if (socket.readyState === 'closed')

Callers 2

createSocketFunction · 0.70
errorFunction · 0.70

Calls 2

callFunction · 0.70
closeMethod · 0.65

Tested by

no test coverage detected