Skip to main content
Version: 3.9

DatasetReducer <T, Data>

User-function used in the Dataset.reduce() API.

Callable

  • DatasetReducer(memo: T, item: Data, index: number): Awaitable<T>

  • Parameters

    • memo: T

      Previous state of the reduction.

    • item: Data

      Current Dataset entry being processed.

    • index: number

      Position of current Dataset entry.

    Returns Awaitable<T>