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