We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've seen you do
zmqstream.Socket.super_ = EventEmitter zmqstream.Socket.prototype.__proto__ = new EventEmitter()
in the lib/zmqstream.js
There were a recent bug with a similar situation: nodejs/node-v0.x-archive#4971 So you may want to check if it's applicable to zmq-stream as well.
The text was updated successfully, but these errors were encountered:
We should be okay because we do call super_ during construction. That said, I haven't been able to test it yet, so I'm leaving this issue open.
super_
Thanks for the find!
Sorry, something went wrong.
Yep, it's reproduced in node 0.10.3:
var zmqstream = require('../lib/zmqstream') var a = new zmqstream.Socket({ type: zmqstream.Type.ROUTER }); var b = new zmqstream.Socket({ type: zmqstream.Type.ROUTER }); a.on('x', function(){ console.log('X'); }); b.emit('x');
outputs "X"
No branches or pull requests
I've seen you do
in the lib/zmqstream.js
There were a recent bug with a similar situation: nodejs/node-v0.x-archive#4971
So you may want to check if it's applicable to zmq-stream as well.
The text was updated successfully, but these errors were encountered: