packages/client/lib/commands/MGET.ts
import { CommandParser } from '../client/parser';
import { RedisArgument, BlobStringReply, NullReply, Command } from '../RESP/types';
export default {
CACHEABLE: true,
IS_READ_ONLY: true,
parseCommand(parser: CommandParser, keys: Array<RedisArgument>) {
parser.push('MGET');
parser.pushKeys(keys);
},
transformReply: undefined as unknown as () => Array<BlobStringReply | NullReply>
} as const satisfies Command;