* Drops a statement whose parsing cycle failed before its columns arrived. * * A `Parse` that completed before the error outlives the failed cycle, so * the backend may hold the name while the entry can never become ready. The * name is closed either way: closing one the backend never re
(prepared: Prepared)
| 1549 | * no-op. |
| 1550 | */ |
| 1551 | evictFailed(prepared: Prepared): void { |
| 1552 | this.statements.delete(prepared.key) |
| 1553 | this.close(prepared.name) |
| 1554 | } |
| 1555 | |
| 1556 | private close(name: string): void { |
| 1557 | ;(this.closes ??= []).push(PgProtocol.encodeClose({ target: "statement", name })) |