Module Events.EventEmitter
val addListener : t -> eventName:string -> listener:listener -> t
val on : t -> eventName:string -> listener:listener -> t
val once : t -> eventName:string -> listener:listener -> t
val removeListener : t -> eventName:string -> listener:listener -> t
val off : t -> eventName:string -> listener:listener -> t
val removeAllListeners : t -> ?event:string -> unit -> t
val setMaxListener : t -> n:int -> t
val getMaxListener : t -> int
val listeners : t -> eventName:string -> listener list
val rawListeners : t -> eventName:string -> listener list
val listenerCount : t -> eventName:string -> ?listener:listener -> unit -> int
val prependListener : t -> eventName:string -> listener:listener -> t
val prependOnceListener : t -> eventName:string -> listener:listener -> t
val eventNames : t -> string list