ValueIdsListener
The ValueIdsListener
type describes a function that is used to listen to changes to the Value
Ids
in a 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 ValueIdsListener
is provided when using the addValueIdsListener
method. See that method for specific examples.
When called, a ValueIdsListener
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