Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Promise end
class type ['a, 'b] promise0 = object ... end
class type any = object ... end
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 to_lwt_cb : (('a, 'b -> unit) Js.meth_callback -> 'c) -> 'b Lwt.t
val to_lwt_cb_tr :
('a -> 'b) ->
(('c, 'a -> unit) Js.meth_callback -> 'd) ->
'b Lwt.t
val to_lwt_cb_opt :
('a -> 'b) option ->
(('c, 'a -> unit) Js.meth_callback Js.optdef -> 'd) ->
'b option Lwt.t
val promise_lwt : 'a Lwt.t -> ('a, 'b) promise0 Js_of_ocaml.Js.t
val promise_lwt_res :
('a, 'b) Js.result Lwt.t ->
('a, 'b) promise0 Js_of_ocaml.Js.t