Type Alias: AsyncKeyedReducer<Key, Value, Acc>
AsyncKeyedReducer<
Key
,Value
,Acc
>:RawAsyncKeyedReducer
<Key
,Value
,Acc
>
An async keyed reducer that reduces by creating an initial accumulator using RawAsyncReducerWithoutFinish.create and then adding key-value pairs to the accumulator values using RawAsyncReducerWithoutFinish.add. The async keyed reducer is optionally able to combine pairs of accumulators using RawAsyncReducerWithoutFinish.combine. The accumulator can be queried for values by key using RawAsyncKeyedReducer.get.
Type Parameters
• Key = unknown
• Value = unknown
• Acc = [Key
, Value
]
Since
v2.0.0