Conversation
The extending of EventTarget with EventEmitter emulation is contentious and not something that is strictly necessary for minimal support. Signed-off-by: James M Snell <jasnell@gmail.com>
benjamingr
left a comment
There was a problem hiding this comment.
Changes LGTM though I do see value in exposing this like we expose Buffer on top of types arrays.
Where did this get pushback?
targos
left a comment
There was a problem hiding this comment.
I do not think this is comparable to Buffer, because Buffer existed in Node.js before typed arrays. EventTarget is a new API and nothing in the ecosystem can rely on NodeEventTarget yet because it was never released.
8ae28ff to
2935f72
Compare
|
Fwiw, I’m somewhat under the impression that this would make turning Or, put another way: It would require something like (There’s also the question of whether it’s possible to perform that change to |
|
We can hold off on this if there is other places we can use it. The pushback that I've seen in really in the places we'd use it... like |
I like the approach we took with NodeEventTarget and we can take a similar approach for |
The extending of EventTarget with EventEmitter emulation is contentious
and not something that is strictly necessary for minimal support.
/cc @benjamingr
Signed-off-by: James M Snell jasnell@gmail.com
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes