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

http: OutgoingMessage instanceof Writable #28971

Closed
ronag opened this issue Aug 5, 2019 · 3 comments
Closed

http: OutgoingMessage instanceof Writable #28971

ronag opened this issue Aug 5, 2019 · 3 comments

Comments

@ronag
Copy link
Member

ronag commented Aug 5, 2019

Would it be an idea to make OutgoingMessage inherit the Writable prototype but where we override all methods. Just in order to make msg instanceof Writable work?

@ronag
Copy link
Member Author

ronag commented Aug 5, 2019

ping @mcollina

@mcollina
Copy link
Member

mcollina commented Aug 5, 2019

I tried this in the past, but I got a significant performance drop. I'm happy to review a PR, if it has no performance loss.

@mcollina
Copy link
Member

I would recommend we close this issue as it’s likely not doable without a significant slowdown in the current state of affairs.

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 a pull request may close this issue.

2 participants