Class Emitter

Event emitter which allows the emission and subscription of events.

Inherits from

  • Object (base class)

Fields

Name Type Description
listeners BoundEmitter[][string][EmitterOrder]

Methods

Name Description
emit Emit an event.
listen Listen to an event based on its type.
listenAll Listen to all events.
listenRaw Listen to an event based on its name.
on Listen to an event by string, ignoring the actual event in the callback.