Tuesday 9 May 2017

diffrence between eventEmitter and socket.io and cron jobs

As I m new to Node.js ,till now i get very few things to distinguish between event emitter ,Cron jobs , Soket.io

points I get :-

  • eventEmitter - when i want their is a need of any thing then then a event is emitted.
  • cron jobs - run any code or function on any perticular time.
  • Socket.io - helps to make real time server like chat application

can anyone make a brief discussion about these three things to make clear.. Any help would be appriciated



via hardy

No comments:

Post a Comment