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

File TxRef.ts

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

pipeMethod · 0.65
setMethod · 0.65
getMethod · 0.65
fFunction · 0.50
modifyFunction · 0.50
updateFunction · 0.50
syncMethod · 0.45
hasMethod · 0.45

Tested by

no test coverage detected