
###################
createUnsafePromise
###################

.. js:function:: Util.createUnsafePromise

   .. rst-class:: sig-pretty-signature
   
      | createUnsafePromise(**promisedValue**\ : T, **readyPromise**\ : *Promise*\ ): :js:class:`UnsafePromise <Util.UnsafePromise>`\ <T>
   
   Creates a new ``UnsafePromise``\ .
   
   **Parameters**
   
      **promisedValue**\ : T
   
         The value this promise resolves to. (See ``this.unsafeValue``\ .)
   
   
      **readyPromise**\ : *Promise*
   
         The promise used for ``this.readyPromise``\ . (See also ``this.isReady``\ .)
   
   
   
   **Returns**\ : :js:class:`UnsafePromise <Util.UnsafePromise>`\ <T>
   
      A new ``UnsafePromise``\ .
   
   




