Function: normalizeReducer()
Returns a non-raw version of reducer
.
normalizeReducer(reducer)
normalizeReducer<
Key
,Value
,Acc
,This
>(reducer
):KeyedReducer
<Key
,Value
,Acc
>
Returns a non-raw version of reducer
.
Type Parameters
• Key
• Value
• Acc
• This
Parameters
• reducer: Readonly
<RawKeyedReducer
<Key
, Value
, Acc
, This
>>
Returns
KeyedReducer
<Key
, Value
, Acc
>
Defined in
normalizeReducer(reducer)
normalizeReducer<
Value
,Acc
,Finished
,This
>(reducer
):Reducer
<Value
,Acc
,Finished
>
Returns a non-raw version of reducer
.
Type Parameters
• Value
• Acc
• Finished
• This
Parameters
• reducer: Readonly
<RawReducerWithFinish
<Value
, Acc
, Finished
, This
>>
Returns
Reducer
<Value
, Acc
, Finished
>
Defined in
normalizeReducer(reducer)
normalizeReducer<
Value
,Acc
,This
>(reducer
):Reducer
<Value
,Acc
,Acc
>
Returns a non-raw version of reducer
.
Type Parameters
• Value
• Acc
• This
Parameters
• reducer: Readonly
<RawReducerWithoutFinish
<Value
, Acc
, This
>>
Returns
Reducer
<Value
, Acc
, Acc
>
Defined in
normalizeReducer(reducer)
normalizeReducer<
Value
,Finished
,This
>(reducer
):OptionalReducer
<Value
,Finished
>
Returns a non-raw version of reducer
.
Type Parameters
• Value
• Finished
• This
Parameters
• reducer: Readonly
<RawOptionalReducerWithFinish
<Value
, Finished
, This
>>
Returns
OptionalReducer
<Value
, Finished
>
Defined in
normalizeReducer(reducer)
normalizeReducer<
Value
,This
>(reducer
):OptionalReducer
<Value
,Value
>
Returns a non-raw version of reducer
.
Type Parameters
• Value
• This
Parameters
• reducer: Readonly
<RawOptionalReducerWithoutFinish
<Value
, This
>>
Returns
OptionalReducer
<Value
, Value
>
Defined in
normalizeReducer(reducer)
normalizeReducer<
Value
>(reducer
):OptionalReducer
<Value
,Value
>
Returns a non-raw version of reducer
.
Type Parameters
• Value
Parameters
• reducer: FunctionReducer
<Value
>
Returns
OptionalReducer
<Value
, Value
>
Defined in
normalizeReducer(reducer)
normalizeReducer<
Key
,Value
,Acc
,This
>(reducer
):AsyncKeyedReducer
<Key
,Value
,Acc
>
Returns a non-raw version of reducer
.
Type Parameters
• Key
• Value
• Acc
• This
Parameters
• reducer: Readonly
<RawAsyncKeyedReducer
<Key
, Value
, Acc
, This
>>
Returns
AsyncKeyedReducer
<Key
, Value
, Acc
>
Defined in
normalizeReducer(reducer)
normalizeReducer<
Value
,Acc
,Finished
,This
>(reducer
):AsyncReducer
<Value
,Acc
,Finished
>
Returns a non-raw version of reducer
.
Type Parameters
• Value
• Acc
• Finished
• This
Parameters
• reducer: Readonly
<RawAsyncReducerWithFinish
<Value
, Acc
, Finished
, This
>>
Returns
AsyncReducer
<Value
, Acc
, Finished
>
Defined in
normalizeReducer(reducer)
normalizeReducer<
Value
,Acc
,This
>(reducer
):AsyncReducer
<Value
,Acc
,Acc
>
Returns a non-raw version of reducer
.
Type Parameters
• Value
• Acc
• This
Parameters
• reducer: Readonly
<RawAsyncReducerWithoutFinish
<Value
, Acc
, This
>>
Returns
AsyncReducer
<Value
, Acc
, Acc
>
Defined in
normalizeReducer(reducer)
normalizeReducer<
Value
,Finished
,This
>(reducer
):AsyncOptionalReducer
<Value
,Finished
>
Returns a non-raw version of reducer
.
Type Parameters
• Value
• Finished
• This
Parameters
• reducer: Readonly
<RawAsyncOptionalReducerWithFinish
<Value
, Finished
, This
>>
Returns
AsyncOptionalReducer
<Value
, Finished
>
Defined in
normalizeReducer(reducer)
normalizeReducer<
Value
,This
>(reducer
):AsyncOptionalReducer
<Value
,Value
>
Returns a non-raw version of reducer
.
Type Parameters
• Value
• This
Parameters
• reducer: Readonly
<RawAsyncOptionalReducerWithoutFinish
<Value
, This
>>
Returns
AsyncOptionalReducer
<Value
, Value
>
Defined in
normalizeReducer(reducer)
normalizeReducer<
Value
>(reducer
):AsyncOptionalReducer
<Value
,Value
>
Returns a non-raw version of reducer
.
Type Parameters
• Value
Parameters
• reducer: AsyncFunctionReducer
<Value
>
Returns
AsyncOptionalReducer
<Value
, Value
>