TinyBase logoTinyBase

AutomergePersister

The AutomergePersister interface represents a Persister that lets you save and load Store data to and from an Automerge document.

You should use the createAutomergePersister function to create an AutomergePersister object.

It is a minor extension to the Persister interface and simply provides an extra getDocHandle method for accessing the Automerge document handler the Store is being persisted to.

Since

v4.3.14

Getter methods

This is the collection of getter methods within the AutomergePersister interface. There are only two getter methods, getStore and getDocHandle.

Lifecycle methods

This is the collection of lifecycle methods within the AutomergePersister interface. There are only two lifecycle methods, destroy and schedule.

Load methods

This is the collection of load methods within the AutomergePersister interface. There are 4 load methods in total.

Save methods

This is the collection of save methods within the AutomergePersister interface. There are 4 save methods in total.

Development methods

This is the collection of development methods within the AutomergePersister interface. There is only one method, getStats.