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