Name | Trait | Description |
---|---|---|
none |
This method registers a new listener for the given event. The listener is called every time the event is emitted on the object.
Emits an event with the given name on the object. Every registered listener for the event will be called.