WhenEachResult<T> Struct
Namespace: Cysharp.Threading.Tasks
Assembly: UniTask.dll
public readonly struct WhenEachResult<T>
Type Parameters
T
Members
Constructors
| Name | Description |
|---|---|
| WhenEachResult(Exception) | |
| WhenEachResult(T) |
Properties
| Name | Description |
|---|---|
| Exception | |
| IsCompletedSuccessfully | |
| IsFaulted | |
| Result |
Methods
| Name | Description |
|---|---|
| GetResult() | |
| ToString() | |
| TryThrow() |
Constructors
WhenEachResult(Exception)
public WhenEachResult(Exception exception)
Parameters
exceptionException
WhenEachResult(T)
public WhenEachResult(T result)
Parameters
resultT
Properties
Exception
public Exception Exception { get; }
Property Value
IsCompletedSuccessfully
public bool IsCompletedSuccessfully { get; }
Property Value
IsFaulted
public bool IsFaulted { get; }
Property Value
Result
public T Result { get; }
Property Value
- T
Methods
GetResult()
public T GetResult()
Returns
- T
ToString()
public override string ToString()
Returns
Overrides
TryThrow()
public void TryThrow()