elt.Result.t(int, exn)
  )
) => Js.Promise.t(Belt.Result.t(int, exn))">|&gt;</span> <span class='ident' data-type="(
  int => int,
  Js.Promise.t(Belt.Result.t(int, exn))
) => Js.Promise.t(Belt.Result.t(int, exn))">Result.Promise.map</span>(<span class='pattern-ident' data-type="int">x</span> =&gt; <span class='ident' data-type="int">x</span> <span class='operator' data-type="(int, int) => int">+</span> <span class='int' data-type="int">10</span>)
  <span class='operator' data-type="(
  Js.Promise.t(Belt.Re