Document
A typed, document-oriented view over a single key in storage.
Each document is stored as one key per field. Reads and writes are synchronous and non-blocking; writes to the same document are serialized so a builder-style update is atomic. Reactive observation is available through flow and stateFlow.
Type Parameters
T
the document's value type, which must be @Serializable.