Skip to content

Conversation

@F3n67u
Copy link
Contributor

@F3n67uF3n67u commented Jul 17, 2022

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)

@nodejs-github-botnodejs-github-bot added the needs-ci PRs that need a full CI run. label Jul 17, 2022
@F3n67uF3n67u requested a review from benjamingrJuly 17, 2022 11:53
@F3n67uF3n67u added the request-ci Add this label to start a Jenkins CI on a PR. label Jul 17, 2022
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 17, 2022
@nodejs-github-bot
Copy link
Collaborator

@F3n67uF3n67u added the events Issues and PRs related to the events subsystem / EventEmitter. label Jul 17, 2022
@benjamingr
Copy link
Member

@addaleax

detail: kEnumerableProperty,
});

classNodeCustomEventextendsEvent{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@aduh95aduh95force-pushed the node-custom-event branch from 4098a39 to d0560a8CompareMay 11, 2024 09:37
@aduh95aduh95 added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 11, 2024
@nodejs-github-bot
Copy link
Collaborator

@aduh95aduh95 merged commit bd323b6 into nodejs:mainMay 11, 2024
@aduh95
Copy link
Contributor

Landed in bd323b6

targos pushed a commit that referenced this pull request May 12, 2024
@targostargos mentioned this pull request May 13, 2024
marco-ippolito pushed a commit that referenced this pull request Jun 17, 2024
@marco-ippolitomarco-ippolito mentioned this pull request Jun 17, 2024
marco-ippolito pushed a commit that referenced this pull request Jun 17, 2024
marco-ippolito pushed a commit that referenced this pull request Jun 17, 2024
ebouye pushed a commit to ebouye/node that referenced this pull request Jun 20, 2024
bmeck pushed a commit to bmeck/node that referenced this pull request Jun 22, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.eventsIssues and PRs related to the events subsystem / EventEmitter.needs-ciPRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@F3n67u@nodejs-github-bot@benjamingr@aduh95@addaleax