Interface IAction<TState, TInput>
Performs an action that can be triggered by the store
Inherited Members
Namespace: BlazorFocused
Assembly: BlazorFocused.Store.dll
Syntax
public interface IAction<TState, TInput> : IStoreAction<TState>
Type Parameters
Name | Description |
---|---|
TState | State of the store data |
TInput | Input object at time of execution |
Methods
| Improve this Doc View SourceExecute(TInput)
This method is executed by the store chain when dispatched
Declaration
TState Execute(TInput input)
Parameters
Type | Name | Description |
---|---|---|
TInput | input | Input object passed at time of dispatch |
Returns
Type | Description |
---|---|
TState | New state of store after action is complete |