TableIdsListener
The TableIdsListener
type describes a function that is used to listen to changes to the Table
Ids
in the Store
.
(
store: Store,
getIdChanges: GetIdChanges | undefined,
): void
Type | Description | |
---|---|---|
store | Store | A reference to the |
getIdChanges | GetIdChanges | undefined | A function that returns information about the |
returns | void | This has no return value. |
A TableIdsListener
is provided when using the addTableIdsListener
method. See that method for specific examples.
When called, a TableIdsListener
is given a reference to the Store
.
Since v3.3, the listener is also passed a GetIdChanges
function that can be used to query which Ids
changed during the transaction.
Since
v1.0.0