Show / Hide Table of Contents

Interface IActionAsync<TState, TInput>

Performs an asynchronous action that can be triggered by the store

Inherited Members
IStoreAction<TState>.State
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 Source

ExecuteAsync(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

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX