hey, i want to create class that is also event emitter and i don't want to use node specific event emitter as i am targeting Web as well
- Why not EventTarger as its supported on almost every runtime?
- Its not TypeScript rich, i can't defined the event names
- Forced to dispatch with Event instance only, not suitable for error events
- Why not custom event emitter?
- Custom event emitter doesn't always follow the same standards as build-in emitter's
- Bug-possible
- Bad user experience as it slows down the development process
- Why not nodeJS event Emitter
- I want to target as much platforms as possible
- Bad design, legacy emitter design
- I don't like NodeJS emitters