Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/docs/stdlib-persistence.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ The `persistence` module provides a simple key-value store that persists data ac
- LRU cache behavior with maximum weight limits
- Batch writes for performance

### Web debugger inspection

The web binding exposes a read-only, bounded snapshot for attached developer
tools. It inspects the existing in-memory stores and the established
`valdi.PersistentStore.<name>` browser records without hydrating, rewriting, or
removing them. Store names, entry keys, values, serialized records, store and
entry counts, browser-key scans, and the aggregate UTF-16/UTF-8 payload are all
bounded. Truncation and corruption are reported as snapshot metadata so an
inspector cannot wedge application persistence or perform unbounded work.

## Installation

Add the `persistence` module to your `BUILD.bazel` dependencies:
Expand Down
Loading
Loading