docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct Completer

    Handle to settle a promise.

    Namespace: UnityEngine.Promise
    Assembly: solution.dll
    Syntax
    public struct Completer

    Properties

    Name Description
    None

    Can be used to replace a completer for process you don't need the feedback from.

    Methods

    Name Description
    Reject(Exception)

    Rejects the handled promise for the given reason.

    Resolve()

    Fulfills the handled promise.

    SetProgression(int, int)

    Sets the progression of the promise.

    Operators

    Name Description
    implicit operator Rejectable(Completer)

    Implicitly converts a Completer into a Rejectable in case a method only needs to be able to reject the promise.

    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)