             <h4>finally</h4>
                                        <pre class="methodSignature"> abstract <a href=Promise.html>Promise</a>&lt;<a href=Promise.html>T</a>&gt; <a href=Promise.html#finally(kotlin.jvm.functions.Function0)>finally</a>(Function0&lt;<a href=https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>Unit</a>&gt; onfinally)</pre>
                                        <div class="block"><p>Attaches a callback that is invoked when the Promise is settled (fulfilled or re