| 1 | effect/TSet#TSet: |
| 2 | replacement: "TxHashSet.TxHashSet" |
| 3 | note: "Rename the type and import from \"effect/TxHashSet\". V4 Tx operations return ordinary Effects; compose multiple operations under one outer Effect.tx to keep them atomic." |
| 4 | effect/TSet#TSet.Variance: |
| 5 | replacement: "none" |
| 6 | note: "TxHashSet exposes no public variance marker." |
| 7 | effect/TSet#TSetTypeId: |
| 8 | replacement: "TxHashSet.isTxHashSet" |
| 9 | note: "The type id is internal in v4; use the public runtime guard." |
| 10 | effect/TSet#difference: |
| 11 | replacement: "TxHashSet.difference" |
| 12 | note: "The name remains, but v4 returns a new set instead of mutating self." |
| 13 | effect/TSet#empty: |
| 14 | replacement: "TxHashSet.empty" |
| 15 | note: "Import TxHashSet from \"effect/TxHashSet\"; the operation keeps its name. V4 Tx operations return ordinary Effects; compose multiple operations under one outer Effect.tx to keep them atomic." |
| 16 | effect/TSet#fromIterable: |
| 17 | replacement: "TxHashSet.fromIterable" |
| 18 | note: "Import TxHashSet from \"effect/TxHashSet\"; 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/TSet#has: |
| 20 | replacement: "TxHashSet.has" |
| 21 | note: "Import TxHashSet from \"effect/TxHashSet\"; the operation keeps its name. V4 Tx operations return ordinary Effects; compose multiple operations under one outer Effect.tx to keep them atomic." |
| 22 | effect/TSet#intersection: |
| 23 | replacement: "TxHashSet.intersection" |
| 24 | note: "The name remains, but v4 returns a new set instead of mutating self." |
| 25 | effect/TSet#isEmpty: |
| 26 | replacement: "TxHashSet.isEmpty" |
| 27 | note: "Import TxHashSet from \"effect/TxHashSet\"; the operation keeps its name. V4 Tx operations return ordinary Effects; compose multiple operations under one outer Effect.tx to keep them atomic." |
| 28 | effect/TSet#make: |
| 29 | replacement: "TxHashSet.make" |
| 30 | note: "Import TxHashSet from \"effect/TxHashSet\"; the operation keeps its name. V4 Tx operations return ordinary Effects; compose multiple operations under one outer Effect.tx to keep them atomic." |
| 31 | effect/TSet#reduce: |
| 32 | replacement: "TxHashSet.reduce" |
| 33 | note: "Import TxHashSet from \"effect/TxHashSet\"; the operation keeps its name. V4 Tx operations return ordinary Effects; compose multiple operations under one outer Effect.tx to keep them atomic." |
| 34 | effect/TSet#reduceSTM: |
| 35 | replacement: "TxHashSet.toHashSet + Effect.reduce" |
| 36 | note: "Snapshot the set and reduce effectfully inside the surrounding Effect.tx transaction." |
| 37 | effect/TSet#remove: |
| 38 | replacement: "TxHashSet.remove" |
| 39 | note: "The name remains, but v4 returns whether the value existed." |
| 40 | effect/TSet#removeAll: |
| 41 | replacement: "Effect.forEach(values, (value) => TxHashSet.remove(self, value))" |
| 42 | note: "No bulk removal helper remains; remove each value inside one outer Effect.tx transaction." |
| 43 | effect/TSet#size: |
| 44 | replacement: "TxHashSet.size" |
| 45 | note: "Import TxHashSet from \"effect/TxHashSet\"; the operation keeps its name. V4 Tx operations return ordinary Effects; compose multiple operations under one outer Effect.tx to keep them atomic." |
| 46 | effect/TSet#takeFirst: |
| 47 | replacement: "none" |
| 48 | note: "No atomic take-and-match helper exists in TxHashSet; select and remove explicitly inside Effect.tx." |
| 49 | effect/TSet#takeFirstSTM: |
| 50 | replacement: "none" |
| 51 | note: "No effectful atomic take-and-match helper exists; traverse and remove explicitly inside Effect.tx." |
| 52 | effect/TSet#takeSome: |
| 53 | replacement: "none" |
| 54 | note: "No atomic multi-take helper exists in TxHashSet; select and remove explicitly inside Effect.tx." |
| 55 | effect/TSet#takeSomeSTM: |
| 56 | replacement: "none" |
| 57 | note: "No effectful atomic multi-take helper exists; traverse and remove explicitly inside Effect.tx." |
| 58 | effect/TSet#toArray: |
| 59 | replacement: "Effect.map(TxHashSet.toHashSet(self), Array.from)" |
| 60 | note: "Convert the immutable HashSet snapshot to an Array explicitly." |
| 61 | effect/TSet#toChunk: |
| 62 | replacement: "Effect.map(TxHashSet.toHashSet(self), (set) => Chunk.fromIterable(set))" |
| 63 | note: "Convert the immutable HashSet snapshot to Chunk explicitly." |
| 64 | effect/TSet#toReadonlySet: |
| 65 | replacement: "Effect.map(TxHashSet.toHashSet(self), (set) => new Set(set))" |
| 66 | note: "Convert the immutable HashSet snapshot to a JavaScript ReadonlySet explicitly." |
| 67 | effect/TSet#transform: |
| 68 | replacement: "TxHashSet.map" |
| 69 | note: "The closest helper returns a new set instead of mutating self." |
| 70 | effect/TSet#transformSTM: |
| 71 | replacement: "TxHashSet.toHashSet + Effect traversal + TxHashSet.fromIterable" |
| 72 | note: "No effectful transform remains; traverse a snapshot and rebuild inside Effect.tx." |
| 73 | effect/TSet#union: |
| 74 | replacement: "TxHashSet.union" |
| 75 | note: "The name remains, but v4 returns a new set instead of mutating self." |