SynchronousCompletionAsyncResult<T> Structure
A task-like operation that is guaranteed to finish continuations synchronously, can be used for parametrized one-shot events
Definition
Namespace: Avalonia.Utilities
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public struct SynchronousCompletionAsyncResult<T> : INotifyCompletion,
IEquatable<SynchronousCompletionAsyncResult<T>>
Public Structure SynchronousCompletionAsyncResult(Of T)
Implements INotifyCompletion, IEquatable(Of SynchronousCompletionAsyncResult(Of T))
[<SealedAttribute>]
type SynchronousCompletionAsyncResult<'T> =
struct
inherit ValueType
interface INotifyCompletion
interface IEquatable<SynchronousCompletionAsyncResult<'T>>
end
Inheritance | Object → ValueType → SynchronousCompletionAsyncResult(T) |
Implements | IEquatable(SynchronousCompletionAsyncResult(T)), INotifyCompletion |
Type Parameters
Constructors
SynchronousCompletionAsyncResult(T)(T) | Initializes a new instance of the SynchronousCompletionAsyncResult(T) class |
Properties
IsCompleted |
Methods
GetAwaiter() | |
GetResult() | |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
OnCompleted(Action) |