Interface IActionAsync<TState, TInput>
Performs an asynchronous action that can be triggered by the store
Inherited Members
Namespace: BlazorFocused
Assembly: BlazorFocused.Store.dll
Syntax
public interface IActionAsync<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 SourceExecuteAsync(TInput)
This method is asynchronously executed by the store chain when dispatched
Declaration
ValueTask<TState> ExecuteAsync(TInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| TInput | input | Input object passed at time of dispatch |
Returns
| Type | Description |
|---|---|
| ValueTask<TState> | New state of store after action is complete |