import { pipelineCommands } from "https://deno.land/x/r2d2@v1.1.3/mod.ts";
Pipelines commands to the Redis server and returns the parsed replies.
Example:
import { pipelineCommands } from "https://deno.land/x/r2d2@$VERSION/mod.ts";
const redisConn = await Deno.connect({ port: 6379 });
// Returns [1, 2, 3, 4]
await pipelineCommands(redisConn, [
["INCR", "X"],
["INCR", "X"],
["INCR", "X"],
["INCR", "X"],
]);