.t(unit)">|&gt;</span> <span class='ident' data-type="(
  int => Js.Promise.t(unit),
  Js.Promise.t(int)
) => Js.Promise.t(unit)">Js.Promise.then_</span>(<span class='pattern-ident' data-type="int">result</span> =&gt; {
       <span class='ident' data-type="(string, int) => unit">Js.log2</span>(<span class='string' data-type="string">&quot;Result: &quot;</span>, <span class='ident' data-type="int">result</span>);
       <span class='ident' data-type="unit => Js.Promise.t(unit)">Js.Promise.resolve</span><spa