Type Alias: KeyedReducer<Key, Value, Acc>
KeyedReducer<
Key
,Value
,Acc
> =RawKeyedReducer
<Key
,Value
,Acc
>
Defined in: reducers.d.ts:275
A keyed reducer that reduces by creating an initial accumulator using RawReducerWithoutFinish.create and then adding key-value pairs to the accumulator values using RawReducerWithoutFinish.add. The accumulator can be queried for values by key using RawKeyedReducer.get.
Type Parameters
Key
Key
= unknown
Value
Value
= unknown
Acc
Acc
= [Key
, Value
]
Since
v2.0.0