Function: mapAsyncReducer()
Returns an AsyncReducer equivalent to reducer
except its final
value is transformed using fn
.
mapAsyncReducer(fn, asyncReducer)
mapAsyncReducer<
Value
,Acc
,From
,To
,This
>(fn
,asyncReducer
):AsyncReducer
<Value
,Acc
,To
>
Returns an AsyncReducer equivalent to reducer
except its final
value is transformed using fn
.
Type Parameters
• Value
• Acc
• From
• To
• This
Parameters
• fn
• asyncReducer: Readonly
<RawAsyncReducerWithFinish
<Value
, Acc
, From
, This
>>
Returns
AsyncReducer
<Value
, Acc
, To
>
Defined in
mapAsyncReducer(fn)
mapAsyncReducer<
From
,To
>(fn
): <Value
,Acc
,This
>(asyncReducer
) =>AsyncReducer
<Value
,Acc
,To
>
Returns an AsyncReducer equivalent to reducer
except its final
value is transformed using fn
.
Type Parameters
• From
• To
Parameters
• fn
Returns
Function
Type Parameters
• Value
• Acc
• This
Parameters
• asyncReducer: Readonly
<RawAsyncReducerWithFinish
<Value
, Acc
, From
, This
>>
Returns
AsyncReducer
<Value
, Acc
, To
>
Defined in
mapAsyncReducer(fn, asyncReducer)
mapAsyncReducer<
Value
,From
,To
,This
>(fn
,asyncReducer
):AsyncReducer
<Value
,To
,To
>
Returns an AsyncReducer equivalent to reducer
except its final
value is transformed using fn
.
Type Parameters
• Value
• From
• To
• This
Parameters
• fn
• asyncReducer: Readonly
<RawAsyncReducerWithoutFinish
<Value
, From
, This
>>
Returns
AsyncReducer
<Value
, To
, To
>
Defined in
mapAsyncReducer(fn)
mapAsyncReducer<
From
,To
>(fn
): <Value
,This
>(asyncReducer
) =>AsyncReducer
<Value
,To
,To
>
Returns an AsyncReducer equivalent to reducer
except its final
value is transformed using fn
.
Type Parameters
• From
• To
Parameters
• fn
Returns
Function
Type Parameters
• Value
• This
Parameters
• asyncReducer: Readonly
<RawAsyncReducerWithoutFinish
<Value
, From
, This
>>
Returns
AsyncReducer
<Value
, To
, To
>
Defined in
mapAsyncReducer(fn, asyncReducer)
mapAsyncReducer<
Value
,From
,To
,This
>(fn
,asyncReducer
):AsyncOptionalReducer
<Value
,To
>
Returns an AsyncReducer equivalent to reducer
except its final
value is transformed using fn
.
Type Parameters
• Value
• From
• To
• This
Parameters
• fn
• asyncReducer: Readonly
<RawAsyncOptionalReducerWithFinish
<Value
, From
, This
>>
Returns
AsyncOptionalReducer
<Value
, To
>
Defined in
mapAsyncReducer(fn)
mapAsyncReducer<
From
,To
>(fn
): <Value
,This
>(asyncReducer
) =>AsyncOptionalReducer
<Value
,To
>
Returns an AsyncReducer equivalent to reducer
except its final
value is transformed using fn
.
Type Parameters
• From
• To
Parameters
• fn
Returns
Function
Type Parameters
• Value
• This
Parameters
• asyncReducer: Readonly
<RawAsyncOptionalReducerWithFinish
<Value
, From
, This
>>
Returns
AsyncOptionalReducer
<Value
, To
>
Defined in
mapAsyncReducer(fn, asyncReducer)
mapAsyncReducer<
From
,To
,This
>(fn
,asyncReducer
):AsyncOptionalReducer
<To
,To
>
Returns an AsyncReducer equivalent to reducer
except its final
value is transformed using fn
.
Type Parameters
• From
• To
• This
Parameters
• fn
• asyncReducer: Readonly
<RawAsyncOptionalReducerWithoutFinish
<From
, This
>>
Returns
AsyncOptionalReducer
<To
, To
>
Defined in
mapAsyncReducer(fn)
mapAsyncReducer<
From
,To
>(fn
): <This
>(asyncReducer
) =>AsyncOptionalReducer
<To
,To
>
Returns an AsyncReducer equivalent to reducer
except its final
value is transformed using fn
.
Type Parameters
• From
• To
Parameters
• fn
Returns
Function
Type Parameters
• This
Parameters
• asyncReducer: Readonly
<RawAsyncOptionalReducerWithoutFinish
<From
, This
>>
Returns
AsyncOptionalReducer
<To
, To
>
Defined in
mapAsyncReducer(fn, asyncReducer)
mapAsyncReducer<
From
,To
>(fn
,asyncReducer
):AsyncOptionalReducer
<To
,To
>
Returns an AsyncReducer equivalent to reducer
except its final
value is transformed using fn
.
Type Parameters
• From
• To
Parameters
• fn
• asyncReducer: AsyncFunctionReducer
<From
>
Returns
AsyncOptionalReducer
<To
, To
>
Defined in
mapAsyncReducer(fn)
mapAsyncReducer<
From
,To
>(fn
): (asyncReducer
) =>AsyncOptionalReducer
<To
,To
>
Returns an AsyncReducer equivalent to reducer
except its final
value is transformed using fn
.
Type Parameters
• From
• To
Parameters
• fn
Returns
Function
Parameters
• asyncReducer: AsyncFunctionReducer
<From
>
Returns
AsyncOptionalReducer
<To
, To
>