Skip to content

EventEmitter

JustGod edited this page Oct 28, 2023 · 4 revisions

EventEmittery

Constructor

(method) EventEmitter:Constructor()

emit

(method) EventEmitter:emit(eventName: string, ...any)
  -> nil

events

table<string, table<number, fun(...vararg)>>

on

(method) EventEmitter:on(eventName: string, callback: fun(...vararg))
  -> table

remove

(method) EventEmitter:remove(eventData: table)
  -> nil
Clone this wiki locally