How does the operation of the eventemitter class in node.js differ from websockets? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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 ответов