package js_of_ocaml-webidl

  1. Overview
  2. Docs
type 'a t
val _Promise : 'a
val _catch : 'a t Js_of_ocaml.Js.t -> ('b -> 'a t Js_of_ocaml.Js.t) -> 'a t Js_of_ocaml.Js.t
val _then : 'a t Js_of_ocaml.Js.t -> ?catch:('c -> 'b t Js_of_ocaml.Js.t) -> ('a -> 'b t Js_of_ocaml.Js.t) -> 'b t Js_of_ocaml.Js.t
val resolve_value : 'a -> 'a t Js_of_ocaml.Js.t
val resolve_promise : 'a t Js_of_ocaml.Js.t -> 'a t Js_of_ocaml.Js.t
val reject_value : 'a -> 'a t Js_of_ocaml.Js.t
val reject_promise : 'a t Js_of_ocaml.Js.t -> 'a t Js_of_ocaml.Js.t
OCaml

Innovation. Community. Security.