Show / Hide Table of Contents

Struct AsyncAwaitable

Provides an awaitable object that allows for configured awaits on IAsyncOperation. This type is intended for compiler use only.

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UnityFx.Async.CompilerServices
Assembly: UnityFx.Async-netstandard2.0.dll
Syntax
public struct AsyncAwaitable

Constructors

| Improve this Doc View Source

AsyncAwaitable(IAsyncOperation, SynchronizationContext)

Initializes a new instance of the AsyncAwaitable struct.

Declaration
public AsyncAwaitable(IAsyncOperation op, SynchronizationContext syncContext)
Parameters
Type Name Description
IAsyncOperation op
SynchronizationContext syncContext

Methods

| Improve this Doc View Source

GetAwaiter()

Returns the awaiter.

Declaration
public AsyncAwaiter GetAwaiter()
Returns
Type Description
AsyncAwaiter

See Also

IAsyncOperation
  • Improve this Doc
  • View Source
Back to top Copyright (c) 2017-2018 Alexander Bogarsukov