mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-20 17:27:45 +02:00
30 lines
1.6 KiB
YAML
30 lines
1.6 KiB
YAML
effect/TRef#TRef:
|
|
replacement: "TxRef.TxRef"
|
|
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."
|
|
effect/TRef#TRef.Variance:
|
|
replacement: "none"
|
|
note: "TxRef exposes no public variance marker."
|
|
effect/TRef#TRefTypeId:
|
|
replacement: "TxRef.isTxRef"
|
|
note: "The type id is internal in v4; use the public runtime guard."
|
|
effect/TRef#get:
|
|
replacement: "TxRef.get"
|
|
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."
|
|
effect/TRef#getAndUpdateSome:
|
|
replacement: "TxRef.modify"
|
|
note: "Use one atomic modify and keep the old value when the partial update returns None."
|
|
effect/TRef#make:
|
|
replacement: "TxRef.make"
|
|
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."
|
|
effect/TRef#modifySome:
|
|
replacement: "TxRef.modify"
|
|
note: "Use one atomic modify and return the fallback result when the partial function returns None."
|
|
effect/TRef#setAndGet:
|
|
replacement: "TxRef.modify"
|
|
note: "Use one atomic modify that returns and stores the new value."
|
|
effect/TRef#updateSome:
|
|
replacement: "TxRef.modify"
|
|
note: "Use one atomic modify and retain the old value when the partial update returns None."
|
|
effect/TRef#updateSomeAndGet:
|
|
replacement: "TxRef.modify"
|
|
note: "Use one atomic modify that returns the resulting value, retaining the old value for None."
|