docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Wait

    Wait(IEnumerable<Deferred>, bool)

    Waits for a list of deferred to be done.

    Declaration
    public Deferred Wait(IEnumerable<Deferred> deferreds, bool tolerant = true)
    Parameters
    Type Name Description
    IEnumerable<Deferred> deferreds

    The list of deferred to wait for.

    bool tolerant

    It true, the returned deferred is fulfilled even if some deferred from the list are rejected. Otherwise, one rejection will also reject the returned deferred. In this case, the errors from all the rejected deferred are associated in an AggregateException.

    Returns
    Type Description
    Deferred

    A single deferred, done when the given list of deferred are done.

    In This Article
    Back to top
    Copyright © 2024 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)