Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Subscribe
Function · 0.70
Calls
1
end
Method · 0.65
Tested by
no test coverage detected