You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
23 lines
479 B
TypeScript
23 lines
479 B
TypeScript
import { LMoveSide } from './LMOVE';
|
|
|
|
export const FIRST_KEY_INDEX = 1;
|
|
|
|
export function transformArguments(
|
|
source: string,
|
|
destination: string,
|
|
sourceDirection: LMoveSide,
|
|
destinationDirection: LMoveSide,
|
|
timeout: number
|
|
): Array<string> {
|
|
return [
|
|
'BLMOVE',
|
|
source,
|
|
destination,
|
|
sourceDirection,
|
|
destinationDirection,
|
|
timeout.toString()
|
|
];
|
|
}
|
|
|
|
export declare function transformReply(): string | null;
|