Skip to main content

Module store

Module store 

Source
Expand description

Durable store boundary. Store boundary for durable client state.

The built-in SQLite implementation persists sessions, sync cursors and journals, dialogs, users, messages, reconciliation state, and transactions. The trait keeps storage pluggable for hosts with platform-specific keychain or database requirements.

Structs§

AccountStateSnapshot
Durable account-level state needed to reconcile a consumer after an event stream retention gap.
ChatStateSnapshot
Durable per-chat state that complements paged dialog/history queries during reconciliation.
InMemoryStore
In-memory store for tests and early client development.
PendingSyncBatch
Durable write-ahead record for one fetched update batch. The opaque payload is owned by the sync engine and retained until reducer writes and the bucket cursor have both committed.
SqliteStore
SQLite-backed durable store.
StoreError
Redacted store error.
StoredReaction
Durable current reaction state for one user and message.
StoredReadState
Durable read state for one chat.
StoredSession
Stored session metadata.
StoredTransaction
Stored durable transaction state.
SyncBucketState
Durable cursor for one Inline update bucket.
SyncState
Durable global synchronization state.

Enums§

SyncBucketKey
Stable identity of an Inline update bucket.
SyncBucketPeer
Peer identity for an Inline chat update bucket.

Traits§

ClientStore
Durable store boundary for client state.

Type Aliases§

StoreResult
Result type returned by client stores.