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

Function send

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

Source from the content-addressed store, hash-verified

2392 // After the frame is written the server processes the request and closes
2393 // the connection, which lands in the `close` handler.
2394 const send = (): void => {
2395 socket.write(frame)
2396 }
2397 const begin = (): void => {
2398 if (config.ssl === false) return send()
2399 socket.once("data", (chunk: Uint8Array) => {

Callers 1

beginFunction · 0.70

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected