Title: Introduce EventEmitter#listenerCount and deprecate EventEmitter.listenerCount · Issue #734 · nodejs/node · GitHub
Open Graph Title: Introduce EventEmitter#listenerCount and deprecate EventEmitter.listenerCount · Issue #734 · nodejs/node
X Title: Introduce EventEmitter#listenerCount and deprecate EventEmitter.listenerCount · Issue #734 · nodejs/node
Description: The listenerCount method was introduced (75305f3) for performance reasons after EventEmitter#listeners started to return a copy of the listeners array (nodejs/node-v0.x-archive#3442). It was added as a static method because of problems w...
Open Graph Description: The listenerCount method was introduced (75305f3) for performance reasons after EventEmitter#listeners started to return a copy of the listeners array (nodejs/node-v0.x-archive#3442). It was added ...
X Description: The listenerCount method was introduced (75305f3) for performance reasons after EventEmitter#listeners started to return a copy of the listeners array (nodejs/node-v0.x-archive#3442). It was added ...
Opengraph URL: https://github.com/nodejs/node/issues/734
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Introduce EventEmitter#listenerCount and deprecate EventEmitter.listenerCount","articleBody":"The `listenerCount` method was introduced (https://github.com/iojs/io.js/commit/75305f3babd9e927e92b0d9b70d8bb026492ebd0) for performance reasons after `EventEmitter#listeners` started to return a copy of the listeners array (https://github.com/joyent/node/issues/3442). It was added as a static method because of problems with backwards compatibility when the `domain` field was introduced to `EventEmitter` (https://github.com/joyent/node/issues/5310).\n\nNow that we are somewhat less strict about this and is introducing other new methods (https://github.com/iojs/io.js/commit/2931348372c5670e5d0d3f36ff62f17148f05d3e) on the prototype for `EventEmitter`, maybe we could clean up this api?\n\n(You guys who was involved in this, feel free to correct me on the historical details)\n","author":{"url":"https://github.com/tellnes","@type":"Person","name":"tellnes"},"datePublished":"2015-02-05T23:08:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/734/node/issues/734"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:59c278d4-8d73-f2f5-4779-f5d2b850d59b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F94:244C0:36FC088:4C1DBB5:6A4F3BB0 |
| html-safe-nonce | b821271b987dd3df5154e6d11ac1fb3657ee39e5644ee681fba3038312359943 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Rjk0OjI0NEMwOjM2RkMwODg6NEMxREJCNTo2QTRGM0JCMCIsInZpc2l0b3JfaWQiOiI3MTkwNjA2MTgxMTM1NDk4MTYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 01cd4e42793a4a636c66db2879307d3cab8afb7b0704ed47204c8268c5374411 |
| hovercard-subject-tag | issue:56744595 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/nodejs/node/734/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2218d59e76ee538febaa93f3134fdf2ed608e15ea9fb5cfbf6755c78c9c92ad7/nodejs/node/issues/734 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2218d59e76ee538febaa93f3134fdf2ed608e15ea9fb5cfbf6755c78c9c92ad7/nodejs/node/issues/734 |
| og:image:alt | The listenerCount method was introduced (75305f3) for performance reasons after EventEmitter#listeners started to return a copy of the listeners array (nodejs/node-v0.x-archive#3442). It was added ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tellnes |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width