TinyBase logoTinyBase

PersisterStats

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

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

The number of times data has been loaded.

saves?number

The number of times data has been saved.

A PersisterStats object is returned from the getStats method, and is only populated in a debug build.