Title: events: repurpose `events.listenerCount()` to accept EventTargets by Renegade334 · Pull Request #60214 · nodejs/node · GitHub
Open Graph Title: events: repurpose `events.listenerCount()` to accept EventTargets by Renegade334 · Pull Request #60214 · nodejs/node
X Title: events: repurpose `events.listenerCount()` to accept EventTargets by Renegade334 · Pull Request #60214 · nodejs/node
Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.
Open Graph Description: Resolves #60212. Makes events.listenerCount() agnostic over both EventEmitters and EventTargets. For EventTargets, this is faster than the events.getEventListeners(...).length pattern currently in ...
X Description: Resolves #60212. Makes events.listenerCount() agnostic over both EventEmitters and EventTargets. For EventTargets, this is faster than the events.getEventListeners(...).length pattern currently in ...
Opengraph URL: https://github.com/nodejs/node/pull/60214
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:0250b1df-14ca-f0c7-43f7-6a19c1f19a4e |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8766:B4DBF:101DF57:1563D65:6A4C5A74 |
| html-safe-nonce | b95a926b1d9c9af311c53fff7658cf92fa5eb2ee734ae1f2a8e9220743f66a4b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzY2OkI0REJGOjEwMURGNTc6MTU2M0Q2NTo2QTRDNUE3NCIsInZpc2l0b3JfaWQiOiIxMTAzMDE0NTkyMDAxMTA0NTAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1923b20b441ae322db526129ae8d4e930a848f27459906abee3caa08cbf1d207 |
| hovercard-subject-tag | pull_request:2906899680 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/nodejs/node/pull/60214/checks |
| twitter:image | https://opengraph.githubassets.com/89cef566226f6263f014edc00e387daa4a908d6e138be2e1a0e1ca5b4267e854/nodejs/node/pull/60214 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/89cef566226f6263f014edc00e387daa4a908d6e138be2e1a0e1ca5b4267e854/nodejs/node/pull/60214 |
| og:image:alt | Resolves #60212. Makes events.listenerCount() agnostic over both EventEmitters and EventTargets. For EventTargets, this is faster than the events.getEventListeners(...).length pattern currently in ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Renegade334 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-cache |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 14099438da5379150f15a2892474c7c7e6c0e55e |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width