GitHub

API reference for tx_ref.

TxRef[A]: a mutable cell read and written in transactions.

Every operation joins the running transaction (fx.tx), or runs as a transaction of its own when there is none. Inside a transaction, reads and writes go to its journal; other fibers see the writes only once the outermost transaction commits.

Classes