aboutsummaryrefslogtreecommitdiffstats
path: root/prototypes/live-rules/cli.mjs
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-25 11:40:05 +0100
committereunhhu <[email protected]>2026-09-25 11:40:05 +0100
commit12410be7ec2a030e8c3adcf318d87d5ac2954e1d (patch)
tree76c9b7e55fb73e00242e287ffb7de8ebd92bf78b /prototypes/live-rules/cli.mjs
parentaf3d6d38a1494607507f63ab6f2e120ea21bb315 (diff)
downloadpure-12410be7ec2a030e8c3adcf318d87d5ac2954e1d.tar.gz
pure-12410be7ec2a030e8c3adcf318d87d5ac2954e1d.zip
Keep draft versions readable within a transaction
A module event may read a document and then edit it; the value it read must not change. pure_draft_version captures an immutable version and pure_draft_read_version lends its extents; pure_draft_hold suspends arena reclamation while a transaction still reads earlier versions. A test reads the original 200 KB after 400 held edits and checks reclamation on release.
Diffstat (limited to 'prototypes/live-rules/cli.mjs')
0 files changed, 0 insertions, 0 deletions