Delegate AsyncThunkOptions<TThunkArg>.ConditionHandlerAsync
A condition to check before dispatching the action asynchronously.
Namespace: Unity.AppUI.Redux
Assembly: Unity.AppUI.Redux.dll
Syntax
public delegate Task<bool> AsyncThunkOptions<TThunkArg>.ConditionHandlerAsync(TThunkArg dispatchedArguments, Store store)
Parameters
Type | Name | Description |
---|---|---|
TThunkArg | dispatchedArguments | The dispatched arguments. |
Store | store | The store. |
Returns
Type | Description |
---|---|
Task<bool> | True if the thunk should be processed; false otherwise. |