1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-13 10:02:24 +03:00
Files
node-redis/packages/client/lib/commands/BLMPOP.ts
2022-03-22 16:08:48 +01:00

15 lines
431 B
TypeScript

import { RedisCommandArguments } from '.';
import { transformLMPopArguments, LMPopOptions } from './generic-transformers';
export const FIRST_KEY_INDEX = 3;
export function transformArguments(
timeout: number,
keys: string | Array<string>,
options: LMPopOptions
): RedisCommandArguments {
return transformLMPopArguments(['BLMPOP', timeout.toString()], keys, options);
}
export { transformReply } from './LMPOP';