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

Method takeCloses

packages/sql/pg/src/PgConnection.ts:1560–1565  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1558 }
1559
1560 takeCloses(): { readonly frames: Uint8Array; readonly count: number } | undefined {
1561 const closes = this.closes
1562 if (closes === undefined) return undefined
1563 this.closes = undefined
1564 return { frames: closes.length === 1 ? closes[0] : concat(closes), count: closes.length }
1565 }
1566}
1567
1568/**

Callers 1

encodeQueryFunction · 0.80

Calls 1

concatFunction · 0.70

Tested by

no test coverage detected