TinyBase

StoreListenerStats

The StoreListenerStats type describes the number of listeners registered with the Store, and can be used for debugging purposes.

{
  tables?: number;
  tableIds?: number;
  table?: number;
  rowIds?: number;
  row?: number;
  cellIds?: number;
  cell?: number;
}
TypeDescription
tables?number

The number of TablesListeners registered with the Store.

tableIds?number

The number of TableIdsListeners registered with the Store.

table?number

The number of TableListeners registered with the Store.

rowIds?number

The number of RowIdsListeners registered with the Store.

row?number

The number of RowListeners registered with the Store.

cellIds?number

The number of CellIdsListeners registered with the Store.

cell?number

The number of CellListeners registered with the Store.

The StoreListenerStats object contains a breakdown of the different types of listener. Totals include both mutator and non-mutator listeners. A StoreListenerStats object is returned from the getListenerStats method, and is only populated in a debug build.