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

Function settle

packages/sql/mysql2/src/MysqlClient.ts:666–668  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

664 // The command, unlike its stream, reports when the server is done with the
665 // statement, even after the stream has been destroyed.
666 const settle = () => {
667 if (statement.settle()) Effect.runSync(release)
668 }
669 command.once("end", settle)
670 command.once("error", settle)
671

Callers

nothing calls this directly

Calls 1

settleMethod · 0.45

Tested by

no test coverage detected