TinyBase logoTinyBase

RowCountListener

The RowCountListener type describes a function that is used to listen to changes to the number of Row objects in a Table.

(
  store: Store,
  tableId: Id,
  count: number,
): void
TypeDescription
storeStore

A reference to the Store that changed.

tableIdId

The Id of the Table that changed.

countnumber

The number of Row objects in the Table

returnsvoid

This has no return value.

A RowCountListener is provided when using the addRowCountListener method. See that method for specific examples.

When called, a RowCountListener is given a reference to the Store, the Id of the Table whose Row Ids changed, and the number of Row objects in the Table.

Since

v4.1.0