Problem
The Indexes.forEachSlice API page describes the wrong callback in its prose. On v9.7.0 (f09e5a3b74ea16b6fac93439be34cc3f954f1e7c), the generated page says that the rowCallback parameter is a RowCallback called with a row Id and value. The method signature and example show that the parameter is sliceCallback: SliceCallback, called with a slice Id and a forEachRow iterator.
Evidence
Please change the prose to describe sliceCallback and its row iterator, so readers are not led to look for a row-value callback that this API does not provide.
Problem
The
Indexes.forEachSliceAPI page describes the wrong callback in its prose. On v9.7.0 (f09e5a3b74ea16b6fac93439be34cc3f954f1e7c), the generated page says that therowCallbackparameter is aRowCallbackcalled with a row Id and value. The method signature and example show that the parameter issliceCallback: SliceCallback, called with a slice Id and aforEachRowiterator.Evidence
src/@types/indexes/docs.jsaround theIndexes.forEachSlicedocumentation.forEachSlice(indexId: Id, sliceCallback: SliceCallback): void;SliceCallbackreceives(sliceId, forEachRow).Please change the prose to describe
sliceCallbackand its row iterator, so readers are not led to look for a row-value callback that this API does not provide.