Skip to main content

Type Alias: RawAsyncOptionalReducerWithFinish<Value, Finished, This>

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

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 = unknown

Finished = Value

This = unknown

Since

v2.0.0

Defined in

reducers.d.ts:315