Skip to content

Conversation

@kt3k
Copy link
Member

@kt3k kt3k commented Jun 9, 2025

This PR adds the support of the 2nd arg of EventEmitter.prototype.listenerCount API. If you pass listener as the 2nd arg, it only counts the matching listeners.

This enables parallel/test-events-listener-count-with-listener.js.

towards #29595

@kt3k kt3k mentioned this pull request Jun 9, 2025
13 tasks
Copy link
Member

@littledivy littledivy left a comment

Choose a reason for hiding this comment

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

LGTM

@kt3k kt3k merged commit 9494ba3 into denoland:main Jun 10, 2025
18 checks passed
@kt3k kt3k deleted the fix-ext-node-ee-listener-count-2nd-arg branch June 26, 2025 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants