package ezjs_min

  1. Overview
  2. Docs
class type ['a, 'b] promise0 = object ... end
class type 'a promise = ['a, Ezjs_min__.Js.error Js_of_ocaml.Js.t] promise0
type ('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.constr
val promise : (('a -> unit) -> ('b -> unit) -> unit) -> ('a, 'b) promise0 Js_of_ocaml.Js.t
val jthen0 : ?error:('b Js_of_ocaml__Js.t -> unit) -> ('a, 'b0 Js_of_ocaml.Js.t) promise0 Js_of_ocaml.Js.t -> ('a0 -> unit) -> unit
val jthen : ?error:(Js_of_ocaml.Js.Js_error.error_t -> unit) -> 'a promise Js_of_ocaml.Js.t -> ('a0 -> unit) -> unit
val jthen0_opt : ('a, 'b Js_of_ocaml.Js.t) promise0 Js_of_ocaml.Js.t -> ('a -> unit) option -> unit
val jthen_opt : 'a promise Js_of_ocaml.Js.t -> ('a -> unit) option -> unit
val rthen : 'a promise Js_of_ocaml.Js.t -> (('b, Js_of_ocaml.Js.Js_error.error_t) Stdlib.result -> unit) -> unit
OCaml

Innovation. Community. Security.