Interface DynIndexerAPI<K, T>
interface DynIndexerAPI<K, T> {
get active(): boolean;
get hash(): number;
get length(): number;
[iterator](): IterableIterator<K, any, any>;
update(force?: boolean): void;
}
get active(): boolean;
get hash(): number;
get length(): number;
[iterator](): IterableIterator<K, any, any>;
update(force?: boolean): void;
}
Type Parameters
Index
Accessors
Methods
Accessors
active
- get active(): boolean
Returns boolean
Returns whether the index is active.
hash
- get hash(): number
Returns number
Current hash value of the index.
length
- get length(): number
Returns number
Returns length of reduced index.
Methods
[iterator]
- [iterator](): IterableIterator<K, any, any>
Provides an iterator over the index array.
Returns IterableIterator<K, any, any>
An iterator for the index array.
Provides the public API for accessing the index API.
This class forms the public API which is accessible from the
.index
getter in the main reducer implementation.Template: K,
T