Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.10/mod.ts";

Just writes a command to the Redis server.

Example:

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

Parameters

redisConn: Deno.Conn
command: Command

Returns

Promise<void>