constructor() {
    this.subscribedEvents = {};
    this.listenToParentProcess();
  }
Constructs an event wrapper for processes.
Handles sending an event message to the parent process and waiting for its response
No need to create an instance of eventsWrapper for your own process, just extend ProcessWrapper
 Then, you an use `this.events.[on|request]` with the usual parameters you would use