Skip to content

what is the right syntax for node-redis PUBSUB CHANNELS #2589

Open
@halilulker

Description

@halilulker

Description

await redis.sendCommand(('PUBSUB CHANNELS', []), function(err,result){
    console.log(err);
    console.log(result);
  });

I try like this but no message in console. When I try redis-cli console its working but I dont find right syntax in nodejs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions