The beautiful thing called EventEmitter

added by JavaScript Kicks
6/29/2018 7:11:08 AM

623 Views

Event emitters are a good way to do async communication between moving parts in code. Event emitters are in a diluted simplification a dictionary of functions with some helpers (generally: on, off, emit) so a very simple and naive implementation could be something like this now if you had use this emitter thing before, perhaps you are thinking something like Really?


0 comments