Synclets logoSynclets

createMemoryMetaConnector

The createMemoryMetaConnector function creates an in-memory MetaConnector that stores Timestamp metadata in a JavaScript Map.

createMemoryMetaConnector<Depth>(options: MemoryMetaConnectorOptions<Depth>): MetaConnector<Depth>
TypeDescription
optionsMemoryMetaConnectorOptions<Depth>
returnsMetaConnector<Depth>

This connector provides fast, volatile metadata storage that mirrors the data tree structure but contains HLC timestamps for conflict resolution. Like the data connector, it is primarily useful for testing, demos, or temporary state.

The connector works in any JavaScript environment and has no external dependencies.

Since

v0.0.0