Delegate CaseReducer<TState>
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 TState CaseReducer<TState>(TState state, Action action)
Parameters
Type | Name | Description |
---|---|---|
TState | state | The current state. |
Action | action | The Action to handle. |
Returns
Type | Description |
---|---|
TState | The new state. |
Type Parameters
Name | Description |
---|---|
TState | The type of the state. |