Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API for wrapping Node.js EventEmitters safely #13

Closed
bordoley opened this issue Nov 15, 2019 · 1 comment
Closed

API for wrapping Node.js EventEmitters safely #13

bordoley opened this issue Nov 15, 2019 · 1 comment

Comments

@bordoley
Copy link
Owner

https://nodejs.org/api/events.html

also see: ReactiveX/rxjs#2533

There's some weirdness in particular with how node handles errors.

@bordoley
Copy link
Owner Author

EventEmitters are a minefield that won’t play well in general with reactive’s pure async api. The best option for users is to connect manually to an event emitter and use a SubjectLike or EventLike to publish events downstream where appropriate.

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

No branches or pull requests

1 participant