Delegate Reducer
A function that takes the current state and an action, and returns a new state.
Namespace: Unity.AppUI.Redux
Assembly: Unity.AppUI.Redux.dll
Syntax
public delegate object Reducer(object state, Action action)
Parameters
Type | Name | Description |
---|---|---|
object | state | The current state. |
Action | action | The Action to handle. |
Returns
Type | Description |
---|---|
object | The new state. |