Module Emitter.Make

Parameters

module T : Interop.Js.T

Signature

type t = T.t generic
val t_of_js : Ojs.t -> t
val t_to_js : t -> Ojs.t
module Event : sig ... end
include sig ... end
val event : t -> Event.t
val fire : t -> event:T.t -> t
val hasListener : t -> bool
val dispose : t -> unit