Skip to content

Another createClient overload? #919

@Janpot

Description

@Janpot

I would like to propose another overload for the createClient method. One that accepts another client to copy its parameters from.

var client1 = redis.createClient();
var client2 = redis.createClient(client1);

This would help library authors that accept a client as input to clone it to do things like pubsub.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions