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

Function close

cjs/src/index.js:380–382  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

378 }
379
380 async function close() {
381 await Promise.all(connections.map(c => c.end()))
382 }
383
384 async function destroy(resolve) {
385 await Promise.all(connections.map(c => c.terminate()))

Callers 1

SubscribeFunction · 0.70

Calls 1

endMethod · 0.65

Tested by

no test coverage detected