Skip to main content

Type Alias: RawAsyncOptionalReducerWithFinish<Value, Finished, This>

RawAsyncOptionalReducerWithFinish<Value, Finished, This> = RawAsyncOptionalReducerWithoutFinish<Value, This> & object

Defined in: reducers.d.ts:315

An async reducer that reduces by combining pairs of values using RawAsyncOptionalReducerWithoutFinish.add and then transforming the final value using RawAsyncOptionalReducerWithFinish.finish.

Type declaration​

finish()​

finish: (this, acc) => MaybePromiseLike<Finished>

Parameters​

this​

This

acc​

Value

Returns​

MaybePromiseLike<Finished>

Type Parameters​

Value​

Value = unknown

Finished​

Finished = Value

This​

This = unknown

Since​

v2.0.0