-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Closed
Description
I'm using ZeroMQ and I've binded my ZeroMQ socket with my Socket.IO client in the following way:
// client is a socket.io client
client.__listener = client.json.send.bind(client);
zmqSocket.on("message", client.__listener); This use to work just fine with version 0.6, where I was calling client.__listener = client.send.bind(client).
Here is the workaround I'm using:
client.__listener = function(msg){
client.json.send(msg);
};
zmqSocket.on("message", client.__listener); Any idea why the first snipped doesn't work?
Thanks,
Renault
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels