.. role:: clio-inherited
   :class: clio-flag clio-flag-inherited

.. role:: clio-readonly
   :class: clio-flag clio-flag-readonly


##################
TrackedOpenPromise
##################

.. js:class:: Util.TrackedOpenPromise

   This represents a ``OpenPromise`` that tracks whether or not it has been resolved or rejected.
   
   
   Index
   =====
   
   .. rubric:: Properties
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~Util.TrackedOpenPromise.state`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~Util.TrackedOpenPromise.reject`
   * :js:meth:`~Util.TrackedOpenPromise.resolve`
   
   




Properties
==========

.. js:data:: Util.TrackedOpenPromise.state

   .. rst-class:: clio-flags
   
      :clio-readonly:`readonly`
   
   .. rst-class:: sig-pretty-signature
   
      | state: *PromiseState*
   
   This value is ``true`` if and only if this promise has been resolved or rejected.
   





Methods
=======

.. js:method:: Util.TrackedOpenPromise.reject

   .. rst-class:: clio-flags
   
      :clio-inherited:`inherited`
   
   .. rst-class:: sig-pretty-signature
   
      | reject(**error**\ : *any*\ ): *void*
   
   **Parameters**
   
      **error**\ : *any*
   
   
   **Returns**\ : *void*
   



.. js:method:: Util.TrackedOpenPromise.resolve

   .. rst-class:: clio-flags
   
      :clio-inherited:`inherited`
   
   .. rst-class:: sig-pretty-signature
   
      | resolve(**this**\ : :js:class:`OpenPromise <Util.OpenPromise>`\ <T>, **value**\ : (T \| *PromiseLike*\ )): *void*
   
   **Parameters**
   
      **this**\ : :js:class:`OpenPromise <Util.OpenPromise>`\ <T>
   
      **value**\ : (T \| *PromiseLike*\ )
   
   
   **Returns**\ : *void*
   
   .. rst-class:: sig-pretty-signature
   
      | resolve(**this**\ : :js:class:`OpenPromise <Util.OpenPromise>`\ <*void*\ >): *void*
   
   **Parameters**
   
      **this**\ : :js:class:`OpenPromise <Util.OpenPromise>`\ <*void*\ >
   
   
   **Returns**\ : *void*
   





