Ezjs_min.PromiseSourcetype ('a, 'b) promise_cs =
((unit, ('a -> unit) -> ('b -> unit) -> unit) Js_of_ocaml.Js.meth_callback ->
('a, 'b) promise0 Js_of_ocaml.Js.t)
Js_of_ocaml.Js.constrval jthen0 :
?error:('b Js_of_ocaml__Js.t -> unit) ->
('a, 'b Js_of_ocaml.Js.t) promise0 Js_of_ocaml.Js.t ->
('a -> unit) ->
unitval jthen :
?error:(Js_of_ocaml.Js.Js_error.error_t -> unit) ->
'a promise Js_of_ocaml.Js.t ->
('a -> unit) ->
unitval jthen0_opt :
('a, 'b Js_of_ocaml.Js.t) promise0 Js_of_ocaml.Js.t ->
('a -> unit) option ->
unitval rthen :
'a promise Js_of_ocaml.Js.t ->
(('a, Js_of_ocaml.Js.Js_error.error_t) result -> unit) ->
unit