package ezjs_min

  1. Overview
  2. Docs

Module Ezjs_min.PromiseSource

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