Delegate CaseReducer<T, TState>
A function that takes the current state and an action, and returns a new state.
Namespace: Unity.AppUI.Redux
Syntax
public delegate TState CaseReducer<T, TState>(TState state, Action<T> action);
Parameters
| Type | Name | Description |
|---|---|---|
| TState | state | |
| Unity.AppUI.Redux.Action<T> | action |
Returns
| Type | Description |
|---|---|
| TState |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the action payload. |
| TState | The type of the state. |