| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
There was a problem hiding this comment.
If you keep this as class NodeCustomEvent extends CustomEvent {}, that might even be a bit nicer since it’s a way to differentiate between events coming from a user and events coming from a Node.js EventEmitter .emit() call?
Sorry, something went wrong.
There was a problem hiding this comment.
Could you help me understand what specific usercase do we need to support? I don't understand in which scenario we would need to differentiate between events coming from a user and events coming from a Node.js EventEmitter .emit() call.
Sorry, something went wrong.
Sorry, something went wrong.
PR-URL: nodejs#43876 Refs: nodejs#43514 Reviewed-By: Anna Henningsen <anna@addaleax.net>
| Back | FazBrowse Home | New Git URL |
CustomEvent is implemented at #43514, NodeCustomEvent is the same as CustomEvent, so I replace NodeCustomEvent with CustomEvent in favor of web API. cc @daeyeon
Refs: #43514 (comment)