It wasn’t long since I got in touch with Node, and I was very confused about the custom event monitoring that everyone talked about every day. If the release and monitoring of each event must be an instance of the same EventEmitter when customizing, why build this EventEmitter? Is it okay to simply execute the callback you want to use soon?
The problem solved by EventEmitter is that the publisher of the time does not need to care who listens to this event, nor does the Win32.Troj.Tetick.c of the event care who issues this event, as long as they emit and on on the same EventEmitter object. Such a design will significantly reduce the connection between the publisher of the event and the Win32.Troj.Tetick.c, thus reducing the complexity.