Skip to content

Conversation

@lforst
Copy link
Contributor

@lforst lforst commented Apr 13, 2023

Event emitters added to domains are only used when attaching an error handler to the domains itself: https://nodejs.org/docs/latest-v19.x/api/domain.html#domainaddemitter

Because we do not do that in the SDK, it is unnecessary to add them. This PR removes the API around this in the async context abstraction.

lforst pushed a commit that referenced this pull request Apr 13, 2023
lforst pushed a commit that referenced this pull request Apr 13, 2023
@lforst lforst merged commit 11c68d9 into develop Apr 13, 2023
@lforst lforst deleted the lforst-remove-emitters-from-async-context-api branch April 13, 2023 15:33
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.

4 participants