docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetAwaiter

    GetAwaiter()

    Enables directly awaiting this handle, e.g. TObject result = await handle;. Declared as an instance member (rather than only an extension method) so that await works without requiring a using UnityEngine.ResourceManagement.AsyncOperations; directive. See ToAwaitable() for failure and single-use semantics.

    Declaration
    public Awaitable<TObject>.Awaiter GetAwaiter()
    Returns
    Type Description
    Awaitable<TObject>.Awaiter

    The awaiter used by the compiler-generated await code.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)