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

Function destroy

cjs/src/connection.js:863–867  ·  view source on GitHub ↗
(error, callback)

Source from the content-addressed store, hash-verified

861 socket.write(b().d().raw(chunk).end(), callback)
862 },
863 destroy(error, callback) {
864 callback(error)
865 socket.write(b().f().str(error + b.N).end())
866 stream = null
867 },
868 final(callback) {
869 socket.write(b().c().end())
870 final = callback

Callers

nothing calls this directly

Calls 2

writeMethod · 0.65
endMethod · 0.65

Tested by

no test coverage detected