Title: doc: Explicitly indicate that EventEmitter's listeners will still be invoked if they were removed during the emit cycle · Issue #4759 · nodejs/node · GitHub
Open Graph Title: doc: Explicitly indicate that EventEmitter's listeners will still be invoked if they were removed during the emit cycle · Issue #4759 · nodejs/node
X Title: doc: Explicitly indicate that EventEmitter's listeners will still be invoked if they were removed during the emit cycle · Issue #4759 · nodejs/node
Description: As discussed in nodejs/node-v0.x-archive#7872, EventEmitter's listeners are still called if they are removed during the emit() cycle. It was agreed that this is the intended behavior, however, there is nothing in EventEmitter's documenta...
Open Graph Description: As discussed in nodejs/node-v0.x-archive#7872, EventEmitter's listeners are still called if they are removed during the emit() cycle. It was agreed that this is the intended behavior, however, ther...
X Description: As discussed in nodejs/node-v0.x-archive#7872, EventEmitter's listeners are still called if they are removed during the emit() cycle. It was agreed that this is the intended behavior, however, ...
Opengraph URL: https://github.com/nodejs/node/issues/4759
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"doc: Explicitly indicate that EventEmitter's listeners will still be invoked if they were removed during the emit cycle","articleBody":"As discussed in [https://github.com/nodejs/node-v0.x-archive/issues/7872](https://github.com/nodejs/node-v0.x-archive/issues/7872), EventEmitter's listeners are still called if they are removed during the emit() cycle. It was agreed that this is the intended behavior, however, there is nothing in [EventEmitter's documentation](https://nodejs.org/api/events.html) that would explicitly indicate that.\n\nI think the documentation needs to be updated to clarify this behavior, because it's not necessarily obvious.\n","author":{"url":"https://github.com/drjokepu","@type":"Person","name":"drjokepu"},"datePublished":"2016-01-19T13:50:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/4759/node/issues/4759"}
| 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:6eb26c47-42f1-f164-7747-f70df34e8290 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B588:18C93:32A2AE8:45E096A:6A4F287D |
| html-safe-nonce | 8bf740c9d4836bbc92df1b851a6a6b363e2ca2350b795a1a4a9d0bb534380983 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTg4OjE4QzkzOjMyQTJBRTg6NDVFMDk2QTo2QTRGMjg3RCIsInZpc2l0b3JfaWQiOiIzODg2MTAwODMzNzA0NTUyNTczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2d06db4e392192ba6c60ef24de45e848fec867170c58602de7253cdc00a05a4c |
| hovercard-subject-tag | issue:127450563 |
| 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/4759/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3c2760afb6db6af2959d37078873a78ed60d14ae403453abb36e29f0b1b85fcf/nodejs/node/issues/4759 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3c2760afb6db6af2959d37078873a78ed60d14ae403453abb36e29f0b1b85fcf/nodejs/node/issues/4759 |
| og:image:alt | As discussed in nodejs/node-v0.x-archive#7872, EventEmitter's listeners are still called if they are removed during the emit() cycle. It was agreed that this is the intended behavior, however, ther... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | drjokepu |
| 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 | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width