Skip to main content
Version: Next

externalDatasetReducer <T, Data>

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

Callable

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

  • Parameters

    • externalmemo: T

      Previous state of the reduction.

    • externalitem: Data

      Current Dataset entry being processed.

    • externalindex: number

      Position of current Dataset entry.

    Returns Awaitable<T>