mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
added duplicate function to redis
This commit is contained in:
@@ -111,4 +111,7 @@ client.multi(commandArr).exec();
|
||||
client.monitor(resCallback);
|
||||
|
||||
// Send command
|
||||
client.send_command(str, args, resCallback);
|
||||
client.send_command(str, args, resCallback);
|
||||
|
||||
// Duplicate
|
||||
client.duplicate();
|
||||
Vendored
+3
@@ -386,6 +386,9 @@ declare module "redis" {
|
||||
hscan(args:any[], callback?:ResCallbackT<any>): boolean;
|
||||
zscan(...args:any[]): boolean;
|
||||
zscan(args:any[], callback?:ResCallbackT<any>): boolean;
|
||||
|
||||
// Extras
|
||||
duplicate(options?:any[], callback?:ResCallbackT<any>): RedisClient;
|
||||
}
|
||||
|
||||
export interface Multi {
|
||||
|
||||
Reference in New Issue
Block a user