Type Alias: AsyncReducer<Value, Acc, Finished>
AsyncReducer<
Value
,Acc
,Finished
> =RawAsyncReducerWithFinish
<Value
,Acc
,Finished
>
Defined in: reducers.d.ts:389
An async reducer that reduces by creating an initial accumulator using RawAsyncReducerWithoutFinish.create, then adding values to the accumulator values using RawAsyncReducerWithoutFinish.add, and then transforming the final accumulator using RawAsyncReducerWithFinish.finish. The async reducer is optionally able to combine pairs of accumulators using RawAsyncReducerWithoutFinish.combine.
Type Parameters
Value
Value
= unknown
Acc
Acc
= Value
Finished
Finished
= Acc
Since
v2.0.0