Compound credit in memory, for tests and one process. Transactions run one at a time, each on a copy of the state that replaces the state only when the transaction resolves; a transaction that throws leaves nothing.
Runs fn in one transaction: every write of it commits, or none does.
fn
Protected
The committed state.
Compound credit in memory, for tests and one process. Transactions run one at a time, each on a copy of the state that replaces the state only when the transaction resolves; a transaction that throws leaves nothing.