TinyBase logoTinyBase

Save methods

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

save

The save method takes data from the Store with which the Persister is associated and persists it into storage, once.

startAutoSave

The save method takes data from the Store with which the Persister is associated and persists it into storage, once, and then continuously.

stopAutoSave

The stopAutoSave method stops the automatic save of data to storage previously started with the startAutoSave method.