Interface MapCreate<K, T>
interface MapCreate<K, T> {
ctor?: typeof DynMapReducer;
filters?: Iterable<DynReducer.Data.FilterFn<T> | Filter<T>>;
name?: string;
sort?: CompareFn<T> | DynReducer.Data.Sort<T>;
[key: string]: any;
}
ctor?: typeof DynMapReducer;
filters?: Iterable<DynReducer.Data.FilterFn<T> | Filter<T>>;
name?: string;
sort?: CompareFn<T> | DynReducer.Data.Sort<T>;
[key: string]: any;
}
Type Parameters
- K
any- Key type. - T
any- Type of data.
Hierarchy
- DynReducer.Options.Common<T>
- MapCreate (View Summary)
Indexable
- [key: string]: any
Extra data to pass through to any
initializemethod.
Defines object / options for creating a map reducer. Useful for consumers of the
dynamic-reducerlibrary to implement acreatemethod similar to derived reducers.