Hello,
is it expected that when using the subscribe command no callback is called? I would assume that this should work:
client.subscribe("My Channel", function(err, result){
console.log("Subscribed to my channel")
})
But the callback is never called. In contrast the event "subscribe" is fired correctly. Since I do my subscribtion in certain context, I would like to have a callback so that I can do things related to that context.
A bug or something in redis preventing this?
regards.
Hello,
is it expected that when using the subscribe command no callback is called? I would assume that this should work:
But the callback is never called. In contrast the event "subscribe" is fired correctly. Since I do my subscribtion in certain context, I would like to have a callback so that I can do things related to that context.
A bug or something in redis preventing this?
regards.