DEV Community

Discussion on: What is an event emmitter?

Collapse
 
jwp profile image
John Peters • Edited

Prior to Observables, the 'event' was a way to send a message. Being time independent, no 'event listeners' knew when the message would arrive. The program would be interrupted as soon as the message arrived. The message was 'emitted' for the listeners to receive.

Observables took the same pattern but added many more helper functions