Skip to content

Subscribe command not calling the optional callback #140

Description

@manast

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions