package ezjs_min

  1. Overview
  2. Docs
class type ['a, 'b] promise0 = object ... end
class type any = object ... end
type 'a promise = ('a, any Js.t) promise0
type ('a, 'b) promise_cs = ((('a -> unit) -> ('b -> unit) -> unit) Js.callback -> ('a, 'b) promise0 Js.t) Js.constr
val promise : (('a -> unit) -> ('b -> unit) -> unit) -> ('a, 'b) promise0 Js_of_ocaml.Js.t
val jthen : ?error:('b -> unit) -> ('a, 'b0) promise0 Js.t -> ('a0 -> unit) -> unit
val jthen_opt : ('a, 'b) promise0 Js.t -> ('a -> unit) option -> unit