Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/effect-app/libs
/ TxRef.ts
File
TxRef.ts
repos/effect/packages/effect/src/TxRef.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Transactional references
for
coordinating mutable state with Effect
3
* transactions. A `TxRef` stores a current value, but reads and writes inside
4
* `Effect.tx` are recorded in a transaction journal and committed together only
Callers
nothing calls this directly
Calls
8
sync
Method · 0.80
pipe
Method · 0.65
set
Method · 0.65
get
Method · 0.65
f
Function · 0.50
modify
Function · 0.50
update
Function · 0.50
has
Method · 0.45
Tested by
no test coverage detected