2 ms·You don't even need an event emitter. In many cases you might just use switch(){}.by TazeTSchnitzel 12y agoYou don't even need an event emitter. In many cases you might just use switch(){}.