Struct SuspendedExceptionTaskAwaitable<TArg>.Awaiter
Represents the awaiter that suspends exception.
Inherited Members
Namespace: DotNext.Runtime.CompilerServices
Assembly: DotNext.dll
Syntax
public readonly struct SuspendedExceptionTaskAwaitable<TArg>.Awaiter : ICriticalNotifyCompletion, INotifyCompletion
Properties
View SourceIsCompleted
Gets a value indicating that SuspendedExceptionTaskAwaitable has completed.
Declaration
public bool IsCompleted { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
View SourceGetResult()
Gets a result of asynchronous operation, and suspends exception if needed.
Declaration
public void GetResult()
OnCompleted(Action)
Declaration
public void OnCompleted(Action action)
Parameters
| Type | Name | Description |
|---|---|---|
| Action | action |
UnsafeOnCompleted(Action)
Declaration
public void UnsafeOnCompleted(Action action)
Parameters
| Type | Name | Description |
|---|---|---|
| Action | action |