l">js.lib.Promise</a></small></h4></div><div class="body"><div class="doc doc-main"><p></p></div><h3 class="section">Fields</h3><div class="fields"><div class="field "><a name="then"></a><h3 class="anchor"><code><a href="#then"><span class="identifier">then</span></a>&lt;<span class="type">TOut</span>&gt;(<span style="white-space:nowrap">onFulfilled:<a class="type" title="Null - Null&amp;lt;T&amp;gt; is a wrapper that can be used to make the basic types Int, Float and Bool nullable on static targets." href=