TinyBase logoTinyBase β

Listener functions

onHasTables

The onHasTables function registers a listener that is called whenever any Tables are added to or removed from the Store. The listener is tied to the component's $effect lifecycle and is removed when the component unmounts. Read more.

onTables

The onTables function registers a listener that is called whenever tabular data in the Store changes. Read more.

onTableIds

The onTableIds function registers a listener that is called whenever the set of Table Ids in the Store changes. Read more.

onHasTable

The onHasTable function registers a listener that is called whenever a specified Table is added to or removed from the Store. Read more.

onHasTableCell

The onHasTableCell function registers a listener that is called whenever a specified Cell Id is added to or removed from across a Table. Read more.

onResultTable

The onResultTable function registers a listener that is called whenever the result Table of a query changes. Read more.

onResultTableCellIds

The onResultTableCellIds function registers a listener that is called whenever the Cell Ids across a result Table change. Read more.

onTable

The onTable function registers a listener that is called whenever data in a specified Table changes. Read more.

onTableCellIds

The onTableCellIds function registers a listener that is called whenever the Cell Ids used across a Table change. Read more.

onLinkedRowIds

The onLinkedRowIds function registers a listener that is called whenever the linked Row Ids for a first Row change. Read more.

onLocalRowIds

The onLocalRowIds function registers a listener that is called whenever the local Row Ids for a remote Row change. Read more.

onResultRowIds

The onResultRowIds function registers a listener that is called whenever the result Row Ids of a query change. Read more.

onResultSortedRowIds

The onResultSortedRowIds function registers a listener that is called whenever the sorted result Row Ids change. Read more.

onRowIds

The onRowIds function registers a listener that is called whenever the Row Ids in a Table change. Read more.

onSliceRowIds

The onSliceRowIds function registers a listener that is called whenever the Row Ids in a Slice change. Read more.

onSortedRowIds

The onSortedRowIds function registers a listener that is called whenever the sorted Row Ids in a Table change. Read more.

onHasRow

The onHasRow function registers a listener that is called whenever a specified Row is added to or removed from a Table. Read more.

onRemoteRowId

The onRemoteRowId function registers a listener that is called whenever the remote Row Id for a local Row changes. Read more.

onResultRow

The onResultRow function registers a listener that is called whenever a result Row changes. Read more.

onResultRowCount

The onResultRowCount function registers a listener that is called whenever the count of result Rows changes. Read more.

onRow

The onRow function registers a listener that is called whenever data in a specified Row changes. Read more.

onRowCount

The onRowCount function registers a listener that is called whenever the count of Rows in a Table changes. Read more.

onCellIds

The onCellIds function registers a listener that is called whenever the Cell Ids in a Row change. Read more.

onResultCellIds

The onResultCellIds function registers a listener that is called whenever the Cell Ids in a result Row change. Read more.

onCell

The onCell function registers a listener that is called whenever the value of a specified Cell changes. Read more.

onHasCell

The onHasCell function registers a listener that is called whenever a specified Cell is added to or removed from a Row. Read more.

onResultCell

The onResultCell function registers a listener that is called whenever the value of a result Cell changes. Read more.

onHasValues

The onHasValues function registers a listener that is called whenever any Values are added to or removed from the Store. Read more.

onParamValues

The onParamValues function registers a listener that is called whenever the parameter values for a query change. Read more.

onValues

The onValues function registers a listener that is called whenever any Values in the Store change. Read more.

onHasValue

The onHasValue function registers a listener that is called whenever a specified Value is added to or removed from the Store. Read more.

onParamValue

The onParamValue function registers a listener that is called whenever a specific parameter value for a query changes. Read more.

onValue

The onValue function registers a listener that is called whenever the value of a specified Value changes. Read more.

onValueIds

The onValueIds function registers a listener that is called whenever the Value Ids in the Store change. Read more.

onCheckpoint

The onCheckpoint function registers a listener that is called whenever the label of a specified Checkpoint changes. Read more.

onCheckpointIds

The onCheckpointIds function registers a listener that is called whenever the Checkpoint Ids change. Read more.

onDidFinishTransaction

The onDidFinishTransaction function registers a listener called just after a Store transaction completes. Read more.

onMetric

The onMetric function registers a listener that is called whenever a specified Metric value changes. Read more.

onPersisterStatus

The onPersisterStatus function registers a listener that is called whenever the status of a Persister changes. Read more.

onSliceIds

The onSliceIds function registers a listener that is called whenever the Slice Ids in an Index change. Read more.

onStartTransaction

The onStartTransaction function registers a listener that is called at the start of every Store transaction. Read more.

onSynchronizerStatus

The onSynchronizerStatus function registers a listener that is called whenever the status of a Synchronizer changes. Read more.

onWillFinishTransaction

The onWillFinishTransaction function registers a listener called just before a Store transaction completes. Read more.