(require("changeListener"))(store, callback) → {void}
Registers a change listener, which is bound to the store.
A change listener is a function that is only invoked when the state in the store changes. N.B. that there may not be a 1:1 correspondence with actions being dispatched to the store and the state in the store changing.
See Store#subscribe for more information about what change listeners may and may not do.
Parameters:
Name | Type | Description |
---|---|---|
store |
Redux.Store | |
callback |
ext.popups.ChangeListener |
- Source:
Returns:
- Type
- void