* Records that the server is done with the statement. Returns `true` when * the caller handles the outcome, and `false` when it was already recorded * or `cancel` is waiting for it.
()
| 560 | * or `cancel` is waiting for it. |
| 561 | */ |
| 562 | settle(): boolean { |
| 563 | if (this.settled) return false |
| 564 | this.settled = true |
| 565 | if (!this.cancelling) return true |
| 566 | this.onSettled?.() |
| 567 | return false |
| 568 | } |
| 569 | |
| 570 | /** |
| 571 | * Stops the statement and waits until it is safe to release the connection. |
no outgoing calls