Data host array.
Parent indexer.
Any filters and sort functions to apply.
Returns the internal data of this instance. Be careful!
Note: if an array is set as initial data then that array is used as the internal data. If any changes are
performed to the data externally do invoke IDynIndexerAPI.update with true
to recalculate the index and
notify all subscribers.
The internal data.
Derived public API.
Returns whether this derived reducer is destroyed.
The filters adapter.
Returns the Indexer public API.
Indexer API - is also iterable.
Main data / items length or indexed length.
Gets current reversed state.
Sets reversed state and notifies subscribers.
New reversed state.
The sort adapter.
Private
#updateProvides an iterator for data stored in DerivedArrayReducer.
Protected
initializeSubscribe to this DerivedArrayReducer.
Callback function that is invoked on update / changes. Receives this
reference.
Unsubscribe function.
Private
#arrayPrivate
Readonly
#derivedPrivate
Readonly
#derivedPrivate
#destroyedPrivate
Readonly
#filtersPrivate
Readonly
#filtersPrivate
Readonly
#indexPrivate
Readonly
#indexPrivate
#reversedPrivate
Readonly
#sortPrivate
#sortPrivate
#subscriptions
Provides the base implementation derived reducer for arrays / DynArrayReducer.
Note: That you should never directly create an instance of a derived reducer, but instead use the DynArrayReducerDerived.initialize callback to set up any initial state in a custom derived reducer.