class type ['a, 'b] promise0 = object ... endclass type any = object ... endtype 'a promise = ('a, any Js_min.t) promise0type ('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.tval jthen : ?error:('b -> unit) -> ('a, 'b) promise0 Js_min.t -> ('a -> unit) -> unitval jthen_opt : ('a, 'b) promise0 Js_min.t -> ('a -> unit) option -> unit