Constructor
new TypeOfTypes(events, EVENT_NAMES)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
events |
EventEmitter | To hook to the necessary events to parse the code. |
EVENT_NAMES |
EventNames | To get the name of the events the class needs to listen for. |