Persist a value shared by all Programs on this computer's JournalEntry.
A valid, distinctive state key, such as "example_visits".
JSON-serializable data; undefined, functions, BigInt, and cycles cannot be stored as values.
An independent JSON copy of the saved value; rejects on validation/write failure or cancellation.
A dispatched document write can still commit after cancellation. Load/change/save is not atomic.
await save.computer("example_visits", (load.computer("example_visits") ?? 0) + 1); Copy
await save.computer("example_visits", (load.computer("example_visits") ?? 0) + 1);
Persist a value shared by all Programs on this computer's JournalEntry.