The main options object for DynMapReducer.

interface MapReducer<K, T> {
    data?: Map<K, T>;
    filters?: Iterable<DynReducer.Data.FilterFn<T> | Filter<T>>;
    sort?: CompareFn<T> | DynReducer.Data.Sort<T>;
}

Type Parameters

  • K

    any - Key type.

  • T

    any - Type of data.

Hierarchy

Properties

Properties

data?: Map<K, T>

Optional initial backing Map.

Iterable list of filters.

Compare function.