TinyBase logoTinyBase β

mergeable-store

The mergeable-store module contains the types, interfaces, and functions to work with MergeableStore objects, which provide merge and synchronization functionality.

The main entry point to this module is the createMergeableStore function, which returns a new MergeableStore, a subtype of Store that can be merged with another with deterministic results.

Please be aware that a lot of the types and methods exposed by this module are used internally within TinyBase itself (in particular the Synchronizer framework). They're documented here, but mostly for interest, and it is generally assumed that they won't be called directly by applications.

As an application developer, it's more likely that you will continue to use the main Store methods for reading, writing, and listening to data, and rely on Synchronizer instances to keep the data in step with other places.

Since

v5.0.0

Interfaces

Functions

Type Aliases