| 1 | effect/TRef#TRef: |
| 2 | replacement: "TxRef.TxRef" |
| 3 | note: "Rename the type and import from \"effect/TxRef\". V4 Tx operations return ordinary Effects; compose multiple operations under one outer Effect.tx to keep them atomic." |
| 4 | effect/TRef#TRef.Variance: |
| 5 | replacement: "none" |
| 6 | note: "TxRef exposes no public variance marker." |
| 7 | effect/TRef#TRefTypeId: |
| 8 | replacement: "TxRef.isTxRef" |
| 9 | note: "The type id is internal in v4; use the public runtime guard." |
| 10 | effect/TRef#get: |
| 11 | replacement: "TxRef.get" |
| 12 | note: "Import TxRef from \"effect/TxRef\"; the operation keeps its name. V4 Tx operations return ordinary Effects; compose multiple operations under one outer Effect.tx to keep them atomic." |
| 13 | effect/TRef#getAndUpdateSome: |
| 14 | replacement: "TxRef.modify" |
| 15 | note: "Use one atomic modify and keep the old value when the partial update returns None." |
| 16 | effect/TRef#make: |
| 17 | replacement: "TxRef.make" |
| 18 | note: "Import TxRef from \"effect/TxRef\"; the operation keeps its name. V4 Tx operations return ordinary Effects; compose multiple operations under one outer Effect.tx to keep them atomic." |
| 19 | effect/TRef#modifySome: |
| 20 | replacement: "TxRef.modify" |
| 21 | note: "Use one atomic modify and return the fallback result when the partial function returns None." |
| 22 | effect/TRef#setAndGet: |
| 23 | replacement: "TxRef.modify" |
| 24 | note: "Use one atomic modify that returns and stores the new value." |
| 25 | effect/TRef#updateSome: |
| 26 | replacement: "TxRef.modify" |
| 27 | note: "Use one atomic modify and retain the old value when the partial update returns None." |
| 28 | effect/TRef#updateSomeAndGet: |
| 29 | replacement: "TxRef.modify" |
| 30 | note: "Use one atomic modify that returns the resulting value, retaining the old value for None." |