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

Method close

packages/sql/pg/src/PgConnection.ts:1556–1558  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

1554 }
1555
1556 private close(name: string): void {
1557 ;(this.closes ??= []).push(PgProtocol.encodeClose({ target: "statement", name }))
1558 }
1559
1560 takeCloses(): { readonly frames: Uint8Array; readonly count: number } | undefined {
1561 const closes = this.closes

Callers 3

trimMethod · 0.95
evictMethod · 0.95
evictFailedMethod · 0.95

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected