Methods
emit(name)
Decorates the standard emit() with the following functionality:
- Checks that event has been registered
- Checks that events are not currently paused. If so, adds the event to a queue
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
name |
array | Event name | |
|
params |
<repeatable> |
Variable number of additional params |
- Source: