Class AsyncThunkAction<TPayload, TThunkArg>
An action created by an async thunk action creator.
Inherited Members
Namespace: Unity.AppUI.Redux
Assembly: Unity.AppUI.Redux.dll
Syntax
public record AsyncThunkAction<TPayload, TThunkArg> : Action<TThunkArg>, IEquatable<Action>, IEquatable<Action<TThunkArg>>, IEquatable<AsyncThunkAction<TPayload, TThunkArg>>
Type Parameters
Name | Description |
---|---|
TPayload | The type of the payload. |
TThunkArg | The type of the argument to pass to the thunk. |
Constructors
AsyncThunkAction(AsyncThunkActionCreator<TPayload, TThunkArg>, string, TThunkArg)
An action created by an async thunk action creator.
Declaration
public AsyncThunkAction(AsyncThunkActionCreator<TPayload, TThunkArg> creator, string type, TThunkArg payload)
Parameters
Type | Name | Description |
---|---|---|
AsyncThunkActionCreator<TPayload, TThunkArg> | creator | The creator of the action. |
string | type | The type of the action. |
TThunkArg | payload | The payload of the action. |