Class AsyncThunkOptions<TThunkArg>
Options for the async thunk with arguments.
Inherited Members
Namespace: Unity.AppUI.Redux
Assembly: Unity.AppUI.Redux.dll
Syntax
public class AsyncThunkOptions<TThunkArg> : AsyncThunkOptions
Type Parameters
Name | Description |
---|---|
TThunkArg | The type of the argument to pass to the thunk. |
Properties
condition
The condition to check before dispatching the action.
Declaration
public AsyncThunkOptions<TThunkArg>.ConditionHandler condition { get; set; }
Property Value
Type | Description |
---|---|
AsyncThunkOptions<TThunkArg>.ConditionHandler |
conditionAsync
The condition to check before dispatching the action asynchronously.
Declaration
public AsyncThunkOptions<TThunkArg>.ConditionHandlerAsync conditionAsync { get; set; }
Property Value
Type | Description |
---|---|
AsyncThunkOptions<TThunkArg>.ConditionHandlerAsync |
idGenerator
The generator to create a unique ID for the request.
Declaration
public AsyncThunkOptions<TThunkArg>.IDGeneratorHandler idGenerator { get; set; }
Property Value
Type | Description |
---|---|
AsyncThunkOptions<TThunkArg>.IDGeneratorHandler |