TinyBase logoTinyBase β

PersisterStats

The PersisterStats type describes the number of times a Persister object has loaded or saved data.

{
  loads: number;
  saves: number;
}
TypeDescription
loadsnumber

The number of times data has been loaded.

savesnumber

The number of times data has been saved.

A PersisterStats object is returned from the getStats method.

Since

v1.0.0