+ 1

How does the operation of the eventemitter class in node.js differ from websockets?

In Node.js you implement eventemitter to listen to and react to events. You can also use socket.io to react to events. How do they differ? Is the eventemitter only reacting to local events as apposed to remote connection events?

21st Apr 2019, 10:08 PM
Scott Aulsebrook
Scott Aulsebrook - avatar
0 Antworten