TinyBase

QueriesListenerStats

The QueriesListenerStats type describes the number of listeners registered with the Queries object, and can be used for debugging purposes.

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

The number of ResultTableListener functions registered with the Store.

rowIds?number

The number of ResultRowIdsListener functions registered with the Store.

row?number

The number of ResultRowListener functions registered with the Store.

cellIds?number

The number of ResultCellIdsListener functions registered with the Store.

cell?number

The number of ResultCellListener functions registered with the Store.

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

Since

v2.0.0