mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-06 09:19:08 +00:00
Merge pull request #22053 from iamolegga/redis
[redis] fix BRPOPLPUSH callback
This commit is contained in:
4
types/redis/index.d.ts
vendored
4
types/redis/index.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user