@valkey/client
Version:
The source code and documentation for this package are in the main [node-redis](https://github.com/redis/node-redis) repo.
11 lines (10 loc) • 513 B
TypeScript
import { ValkeyCommandArgument, ValkeyCommandArguments } from ".";
export declare const FIRST_KEY_INDEX = 1;
export declare function transformArguments(keys: ValkeyCommandArgument | Array<ValkeyCommandArgument>, timeout: number): ValkeyCommandArguments;
type BLPopRawReply = null | [ValkeyCommandArgument, ValkeyCommandArgument];
type BLPopReply = null | {
key: ValkeyCommandArgument;
element: ValkeyCommandArgument;
};
export declare function transformReply(reply: BLPopRawReply): BLPopReply;
export {};