TinyBase logoTinyBase

YjsPersister

The YjsPersister interface is a minor extension to the Persister interface.

It simply provides an extra getYDoc method for accessing the Yjs document the Store is being persisted to.

Since

v4.3.14

Getter methods

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

Lifecycle methods

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

Load methods

This is the collection of load methods within the YjsPersister interface. There are only three load methods, load, startAutoLoad, and stopAutoLoad.

Save methods

This is the collection of save methods within the YjsPersister interface. There are only three save methods, save, startAutoSave, and stopAutoSave.

Development methods

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