Interface Index<K>
interface Index<K> {
get active(): boolean;
get hash(): number;
get length(): number;
"[iterator]"(): IterableIterator<K>;
update(force?: boolean): void;
}
get active(): boolean;
get hash(): number;
get length(): number;
"[iterator]"(): IterableIterator<K>;
update(force?: boolean): void;
}
Type Parameters
- Kany- Key type.
Index
Accessors
Methods
Accessors
active
- get active(): booleanReturns booleanReturns whether the index is active. 
hash
- get hash(): numberReturns numberCurrent hash value of the index. 
length
- get length(): numberReturns numberReturns length of reduced index. 
Provides the public API for accessing the index API.
This class forms the public API which is accessible from the
.indexgetter in the main reducer implementation.