Skip to main content
Module

x/r2d2/mod.ts>writeCommand

Lightweight Redis client library for Deno.
Go to Latest
function writeCommand
import { writeCommand } from "https://deno.land/x/r2d2@v0.0.11/mod.ts";

Just writes a command to the Redis server.

Example:

await writeCommand(redisConn, ["SHUTDOWN"]);

Parameters

redisConn: Deno.Conn
command: Command

Returns

Promise<void>