ead.
            </td></tr><tr><td><img src="../icons/pubExtension.gif" alt="Public Extension Method" title="Public Extension Method" /></td><td><a href="M_Microsoft_ClearScript_JavaScript_JavaScriptExtensions_ToPromise_2.htm">ToPromise(ValueTask)</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