Create an event with minimal information
The name of the event.
The name of the application.
The created event
Creates and registers a new event subscription for a specific event processor.
The event processor instance.
The name of the event.
The type of event.
An interface for managing the subscription.
Ensures that the specified directory for storing event files exists, creating it if necessary.
The path to the directory.
Ensures that the specified file path for storing event data exists, creating it if necessary.
The path to the file.
Retrieve the event contents form disk
The path to the event file
The object representing the Event
Determines the directory path for storing event files based on the event type and application name.
The name of the application.
The directory path.
Retrieves a list of supported applications from configuration.
List of application names.
Determines if the specified event name is associated with a shared event.
The name of the event.
True if it is a shared event, otherwise false.
Determines if the specified event name is associated with a user event.
The name of the event.
True if it is a user event, otherwise false.
Sets up a file watcher for a specific event, triggering callbacks when the event file is updated.
The event processor instance.
The name of the event.
A single callback or an array of callbacks to execute.
A file system watcher.
Won't throw an error if user entered a valid appName
The name of the application.
Writes event data to the corresponding event file in JSON format.
The event object.
Generated using TypeDoc
A collection of helper functions related to event processing, including: