createLocalStorageMetaConnector
The createLocalStorageMetaConnector function creates a MetaConnector that persists Timestamp metadata in the browser's localStorage API.
createLocalStorageMetaConnector<Depth>(options: LocalStorageMetaConnectorOptions<Depth>): LocalStorageMetaConnector<Depth>| Type | Description | |
|---|---|---|
options | LocalStorageMetaConnectorOptions<Depth> | Configuration options for the LocalStorage meta connector. |
| returns | LocalStorageMetaConnector<Depth> | A |
Metadata is stored as JSON under the specified storage key. The metadata structure mirrors the data tree but contains HLC timestamps instead of Atom values, enabling conflict resolution during synchronization.
Since
v0.0.0