Type Alias: RawAsyncReducerWithoutFinish<Value, Acc, This>
RawAsyncReducerWithoutFinish<
Value
,Acc
,This
> =object
Defined in: reducers.d.ts:346
An async reducer that reduces by creating an initial accumulator using RawAsyncReducerWithoutFinish.create and then adding values to the accumulator values using RawAsyncReducerWithoutFinish.add. The async reducer is optionally able to combine pairs of accumulators using RawAsyncReducerWithoutFinish.combine.
Since
v2.0.0
Type Parameters
Value
Value
= unknown
Acc
Acc
= Value
This
This
= unknown
Properties
add()
add: (
this
,acc
,value
) =>MaybePromiseLike
<Acc
>
Defined in: reducers.d.ts:352
Parameters
this
This
acc
Acc
value
Value
Returns
MaybePromiseLike
<Acc
>
combine()?
optional
combine: (this
,acc1
,acc2
) =>MaybePromiseLike
<Acc
>
Defined in: reducers.d.ts:353
Parameters
this
This
acc1
Acc
acc2
Acc
Returns
MaybePromiseLike
<Acc
>
create()
create: (
this
) =>MaybePromiseLike
<Acc
>
Defined in: reducers.d.ts:351
Parameters
this
This
Returns
MaybePromiseLike
<Acc
>