SmythOS SDK
    Preparing search index...

    Class ControlledPromise<T>

    Type Parameters

    • T

    Hierarchy

    • Promise<T>
      • ControlledPromise
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • executor: (
            resolve: (value: T) => void,
            reject: (reason?: any) => void,
            isSettled: () => boolean,
        ) => void

      Returns ControlledPromise<T>

    Properties

    isSettled: () => boolean
    reject: (reason?: any) => void
    resolve: (value: T) => void