TinyBase logoTinyBase

Getter methods

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

getStore

The getStore method returns a reference to the underlying Store that is backing this Persister object.

getYDoc

The getYDoc method returns the Yjs document the Store is being persisted to.