We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

    Show / Hide Table of Contents

    Class AwaiterExtensions.SimpleCoroutineAwaiter<T>

    Processes Coroutine and notifies completion with result.

    Inheritance
    Object
    AwaiterExtensions.SimpleCoroutineAwaiter<T>
    Namespace: Microsoft.MixedReality.Toolkit.Utilities
    Assembly: cs.temp.dll.dll
    Syntax
    public class SimpleCoroutineAwaiter<T> : INotifyCompletion
    Type Parameters
    Name Description
    T

    The result type.

    Properties

    IsCompleted

    Declaration
    public bool IsCompleted { get; }
    Property Value
    Type Description
    Boolean

    Methods

    Complete(T, Exception)

    Declaration
    public void Complete(T taskResult, Exception e)
    Parameters
    Type Name Description
    T taskResult
    Exception e

    GetResult()

    Declaration
    public T GetResult()
    Returns
    Type Description
    T
    Back to top Generated by DocFX