MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / onPoolError

Function onPoolError

server/src/db/client.ts:18–20  ·  view source on GitHub ↗
(cb: (err: Error) => void)

Source from the content-addressed store, hash-verified

16 * Only one callback is supported; later calls replace earlier ones.
17 */
18export function onPoolError(cb: (err: Error) => void): void {
19 poolErrorCallback = cb;
20}
21
22/**
23 * Initialize database connection pool

Callers 1

startMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected