Class ShareReducer
Processes the state of the app
Namespace: Unity.Connect.Share.Editor
Syntax
public class ShareReducer
Methods
reducer(AppState, Object)
Processes the state of the app according to an action
Declaration
public static AppState reducer(AppState old, object action)
Parameters
Type | Name | Description |
---|---|---|
AppState | old | old state |
Object | action | dispatched action |
Returns
Type | Description |
---|---|
AppState | an updated AppState |