Back to documentation
Preparing search index...
The search index is not available
API Reference
API Reference
langgraph
SingleReducer
Type Alias SingleReducer<ValueType, UpdateType>
SingleReducer
:
|
{
default
?:
()
=>
ValueType
;
reducer
:
BinaryOperator
<
ValueType
,
UpdateType
>
;
}
|
{
default
?:
()
=>
ValueType
;
value
:
BinaryOperator
<
ValueType
,
UpdateType
>
;
}
|
null
Type Parameters
ValueType
UpdateType
=
ValueType
Type declaration
{
default
?:
()
=>
ValueType
;
reducer
:
BinaryOperator
<
ValueType
,
UpdateType
>
}
{
default
?:
()
=>
ValueType
;
value
:
BinaryOperator
<
ValueType
,
UpdateType
>
}
Optional
default
?:
()
=>
ValueType
value
:
BinaryOperator
<
ValueType
,
UpdateType
>
Deprecated
Use
reducer
instead
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Back to documentation
API Reference
Loading...
Deprecated
Use
reducer
instead