persister-automerge
The persister-automerge
module of the TinyBase project provides a way to save and load Store
data, to and from an Automerge document.
A single entry point, the createAutomergePersister
function, is provided, which returns a new Persister
object that can bind a Store
to a provided Automerge document handle (and in turn, its document).
See also
Synchronizing Data guide
Since
v4.0.0
createAutomergePersister
The createAutomergePersister
function creates a Persister
object that can persist the Store
to an Automerge document.