Delegate AsyncThunkOptions<TArg>.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<TArg>.ConditionHandlerAsync(TArg dispatchedArguments, IDispatchable store)
Parameters
Type | Name | Description |
---|---|---|
TArg | dispatchedArguments | The dispatched arguments. |
IDispatchable | store | The store. |
Returns
Type | Description |
---|---|
Task<bool> | True if the thunk should be processed; false otherwise. |