InterfacesVersion: NextexternalDatasetReducer <T, Data>User-function used in the Dataset.reduce() API.CallableDatasetReducer(memo: T, item: Data, index: number): Awaitable<T>Parametersexternalmemo: TPrevious state of the reduction.externalitem: DataCurrent Dataset entry being processed.externalindex: numberPosition of current Dataset entry.Returns Awaitable<T>
User-function used in the
Dataset.reduce()
API.