import { writeCommand } from "https://dotland.deno.dev/x/r2d2@v1.1.4/mod.ts";
Just writes a command to the Redis server.
Example:
import { writeCommand } from "https://deno.land/x/r2d2@$VERSION/mod.ts";
const redisConn = await Deno.connect({ port: 6379 });
await writeCommand(redisConn, ["SHUTDOWN"]);
Parameters
writer: Deno.Writer
command: Command