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

Function close

cf/src/index.js:381–383  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

SubscribeFunction · 0.70

Calls 1

endMethod · 0.65

Tested by

no test coverage detected