td><td><a href="M_Microsoft_ClearScript_JavaScript_JavaScriptExtensions_ToPromise_3.htm">ToPromise(ValueTask, ScriptEngine)</a></td><td>
            Converts a <span class="code"><a href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.valuetask" target="_blank" rel="noopener noreferrer">ValueTask</a></span> instance to a
            <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" target="_blank" rel="noopener noreferrer">promise</a>
         