Class RejectedMeta<TThunkArg>
The metadata of the thunk when it is rejected.
Inherited Members
Namespace: Unity.AppUI.Redux
Assembly: Unity.AppUI.Redux.dll
Syntax
public record RejectedMeta<TThunkArg> : Meta<TThunkArg>, IEquatable<Meta<TThunkArg>>, IEquatable<RejectedMeta<TThunkArg>>
Type Parameters
Name | Description |
---|---|
TThunkArg | The type of the argument to pass to the thunk. |
Constructors
RejectedMeta()
The metadata of the thunk when it is rejected.
Declaration
public RejectedMeta()
Properties
aborted
Whether the thunk has been aborted.
Declaration
public bool aborted { get; }
Property Value
Type | Description |
---|---|
bool |
condition
Whether the thunk has been rejected because of the condition set in the options.
Declaration
public bool condition { get; }
Property Value
Type | Description |
---|---|
bool |
exception
The exception thrown by the thunk.
Declaration
public Exception exception { get; }
Property Value
Type | Description |
---|---|
Exception |
reason
The reason for aborting the thunk.
Declaration
public object reason { get; }
Property Value
Type | Description |
---|---|
object |
rejectedWithValue
Whether the thunk has been rejected with a value.
Declaration
public bool rejectedWithValue { get; }
Property Value
Type | Description |
---|---|
bool |