Fork me on GitHub
Show / Hide Table of Contents

Struct DispatcherAwaiter

Dispatcher awaiter, making a dispatcher awaitable
Implements
System.Runtime.CompilerServices.INotifyCompletion
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: ComposableAsync
Assembly: ComposableAsync.Core.dll
Syntax
public struct DispatcherAwaiter : INotifyCompletion

Constructors

| Improve this Doc View Source

DispatcherAwaiter(IDispatcher)

Construct a NotifyCompletion fom a dispatcher
Declaration
public DispatcherAwaiter(IDispatcher dispatcher)
Parameters
Type Name Description
IDispatcher dispatcher

Properties

| Improve this Doc View Source

IsCompleted

Dispatcher never is synchronous
Declaration
public bool IsCompleted { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

GetResult()

No Result
Declaration
public void GetResult()
| Improve this Doc View Source

OnCompleted(Action)

Dispatch on complete
Declaration
public void OnCompleted(Action continuation)
Parameters
Type Name Description
System.Action continuation

Implements

System.Runtime.CompilerServices.INotifyCompletion
  • Improve this Doc
  • View Source
Back to top Generated by DocFX