Missing EventEmitter API
ibc opened this issue · 2 comments
ibc commented
Morglod commented
tsee has simple implementation for simple usage. If you really want all features, you should use asTypedEventEmitter
function or just type casting.
I never saw advanced usage of EventEmitters, simple implementation is enough almost everywhere.
Also there is no tests currently in tsee.
What project your working on, than you need newListener
event? 😮
ibc commented
The thing is that I cannot use asTypedEventEmitter()
into my class definition.
I'm not using newListener
in any project right now, but I needed it in the past.