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

Method settle

packages/sql/mysql2/src/MysqlClient.ts:562–568  ·  view source on GitHub ↗

* 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.

()

Source from the content-addressed store, hash-verified

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.

Callers 15

runRawMethod · 0.95
settleFunction · 0.45
setupFunction · 0.45
Containers.test.tsFile · 0.45
Animation.test.tsFile · 0.45
stickyFunction · 0.45
setFunction · 0.45
Keyboard.test.tsFile · 0.45
Dimensions.test.tsFile · 0.45

Calls

no outgoing calls

Tested by 6

setupFunction · 0.36
stickyFunction · 0.36
setFunction · 0.36
settleFunction · 0.36
settleFunction · 0.36
waitFunction · 0.36