Interface IPendingPromise | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IPendingPromise

    Interface for a promise that can be rejected or resolved.

    Inherited Members
    IRejectable.Reject(Exception)
    Namespace: RSG
    Syntax
    public interface IPendingPromise : IRejectable

    Properties

    Id

    ID of the promise, useful for debugging.

    Declaration
    int Id { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    ReportProgress(Single)

    Report progress in a promise.

    Declaration
    void ReportProgress(float progress)
    Parameters
    Type Name Description
    System.Single progress

    Resolve()

    Resolve the promise with a particular value.

    Declaration
    void Resolve()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023