Class RejectedAction<TPayload, TThunkArg>
An action dispatched when the thunk is rejected with an optional payload.
Inherited Members
Namespace: Unity.AppUI.Redux
Assembly: Unity.AppUI.Redux.dll
Syntax
public record RejectedAction<TPayload, TThunkArg> : Action<TPayload>, IEquatable<Action>, IEquatable<Action<TPayload>>, IEquatable<RejectedAction<TPayload, TThunkArg>>
Type Parameters
Name | Description |
---|---|
TPayload | The type of the payload. |
TThunkArg | The type of the argument to pass to the thunk. |
Constructors
RejectedAction(string, TPayload, RejectedMeta<TThunkArg>)
An action dispatched when the thunk is rejected with an optional payload.
Declaration
public RejectedAction(string type, TPayload payload, RejectedMeta<TThunkArg> meta)
Parameters
Type | Name | Description |
---|---|---|
string | type | The type of the action. |
TPayload | payload | The payload of the action. |
RejectedMeta<TThunkArg> | meta | The metadata of the action. |
Properties
meta
Declaration
public RejectedMeta<TThunkArg> meta { get; }
Property Value
Type | Description |
---|---|
RejectedMeta<TThunkArg> |