A transaction collects ops applied step by step (e.g. a drag, or an agent iterating in a sandbox) and commits them as ONE history entry.
Readonly
The document with every op applied so far.
Apply more ops to the preview; throws OpApplyError and keeps the previous preview.
OpApplyError
One history entry for everything applied.
Optional
Drop everything; returns the state the transaction started from.
A transaction collects ops applied step by step (e.g. a drag, or an agent iterating in a sandbox) and commits them as ONE history entry.