Merge pull request #22053 from iamolegga/redis

[redis] fix BRPOPLPUSH callback
This commit is contained in:
Mine Starks
2017-12-13 09:48:27 -08:00
committed by GitHub

View File

@@ -250,8 +250,8 @@ export interface Commands<R> {
/**
* Pop a value from a list, push it to another list and return it; or block until one is available.
*/
brpoplpush(source: string, destination: string, timeout: number, cb?: Callback<[string, string]>): R;
BRPOPLPUSH(source: string, destination: string, timeout: number, cb?: Callback<[string, string]>): R;
brpoplpush(source: string, destination: string, timeout: number, cb?: Callback<string|null>): R;
BRPOPLPUSH(source: string, destination: string, timeout: number, cb?: Callback<string|null>): R;
/**
* ADDSLOTS - Assign new hash slots to receiving node.