MCPcopy Create free account
hub / github.com/Effect-TS/effect / makeMissingClientPool

Function makeMissingClientPool

packages/sql/pg/test/TransactionAcquire.test.ts:15–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13})
14
15const makeMissingClientPool = () => ({
16 options: {},
17 ending: false,
18 connect: (cb: ConnectCb) => cb(null, undefined, () => undefined),
19 query: () => undefined
20})
21
22it.effect("withTransaction surfaces acquire failures instead of defecting", () =>
23 Effect.gen(function*() {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected