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