Synclets logoSynclets

createSessionStorageMetaConnector

The createSessionStorageMetaConnector function creates a MetaConnector that persists Timestamp metadata in the browser's sessionStorage API.

createSessionStorageMetaConnector<Depth>(options: SessionStorageMetaConnectorOptions<Depth>): SessionStorageMetaConnector<Depth>
TypeDescription
optionsSessionStorageMetaConnectorOptions<Depth>

Configuration options for the SessionStorage meta connector.

returnsSessionStorageMetaConnector<Depth>

A SessionStorageMetaConnector instance.

Metadata is stored as JSON under the specified storage key. Like the data connector, this storage is ephemeral and scoped to a single tab. The metadata structure mirrors the data tree but contains HLC timestamps for conflict resolution.

Since

v0.0.0