diff --git a/mod.ts b/mod.ts index 6859f26..98ef936 100644 --- a/mod.ts +++ b/mod.ts @@ -495,11 +495,11 @@ export class RedisClient { * assertEquals(replies, [1, 2, 3, 4]); * ``` */ - pipelineCommands(commands: Command[]): Promise { + pipelineCommands(commands: Command[], raw = false): Promise { return this.#enqueue(async () => { const bytes = concat(commands.map(createRequest)); await writeAll(this.#conn, bytes); - return readNReplies(commands.length, this.#lines); + return readNReplies(commands.length, this.#lines, raw); }); } }