nexus-agents - v2.80.0
GitHub
npm
Preparing search index...
customReducer
Function customReducer
customReducer
<
T
>
(
defaultValue
:
T
,
merge
:
(
existing
:
T
,
incoming
:
T
)
=>
T
,
)
:
StateFieldSchema
<
T
>
Creates a custom reducer with a merge function.
Type Parameters
T
Parameters
defaultValue
:
T
merge
:
(
existing
:
T
,
incoming
:
T
)
=>
T
Returns
StateFieldSchema
<
T
>
Settings
Member Visibility
Protected
Internal
Theme
OS
Light
Dark
GitHub
npm
nexus-agents - v2.80.0
Loading...
Creates a custom reducer with a merge function.