You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
10 lines
358 B
TypeScript
10 lines
358 B
TypeScript
import { transformReplyNumber, transformReplyNumberNull } from './generic-transformers';
|
|
|
|
export const FIRST_KEY_INDEX = 1;
|
|
|
|
export function transformArguments(source: string, destination: string, timeout: number): Array<string> {
|
|
return ['BRPOPLPUSH', source, destination, timeout.toString()];
|
|
}
|
|
|
|
export const transformReply = transformReplyNumberNull;
|