You can consider this module to be the core of the HubHazard Core. The
AutomationsModule is responsible for providing base classes and
interfaces for events services, events, automations and is responsible for
managing registered event services and automations:
Automation - a base class for every automation. Allows for
automations to be correctly registered and triggered.
AutomationEvent - a base class for events passed to automations.
Every automation event provides the eventType string field that allows
for identification of the event type inside the automation.
AutomationsService - a service for registering automations and
events services.
You can consider this module to be the core of the HubHazard Core. The AutomationsModule is responsible for providing base classes and interfaces for events services, events, automations and is responsible for managing registered event services and automations:
eventType
string field that allows for identification of the event type inside the automation.