Struct AwaitableResult<T, TError>.Awaiter
Represents the awaiter that suspends exception.
Assembly: DotNext.dll
Syntax
public readonly struct AwaitableResult<T, TError>.Awaiter : ICriticalNotifyCompletion, INotifyCompletion
Properties
View Source
IsCompleted
Declaration
public bool IsCompleted { get; }
Property Value
Methods
View Source
GetResult()
Gets a result of asynchronous operation, and suspends exception if needed.
Declaration
public Result<T, TError> GetResult()
Returns
| Type |
Description |
| Result<T, TError> |
|
View Source
OnCompleted(Action)
Declaration
public void OnCompleted(Action action)
Parameters
| Type |
Name |
Description |
| Action |
action |
|
View Source
UnsafeOnCompleted(Action)
Declaration
public void UnsafeOnCompleted(Action action)
Parameters
| Type |
Name |
Description |
| Action |
action |
|
Implements
Extension Methods