Skip to main content
Module

x/redis/connection.ts>Connection

🦕 Redis client for Deno 🍕
Very Popular
Go to Latest
interface Connection
import { type Connection } from "https://deno.land/x/redis@v0.32.2/connection.ts";

Properties

isClosed: boolean
isConnected: boolean

Methods

close(): void
connect(): Promise<void>
reconnect(): Promise<void>
sendCommand(
command: string,
args?: Array<RedisValue>,
): Promise<RedisReply>
[kUnstableReadReply](returnsUint8Arrays?: boolean): Promise<RedisReply>
[kUnstableWriteCommand](command: Command): Promise<void>
[kUnstablePipeline](commands: Array<Command>): Promise<Array<RedisReply | ErrorReplyError>>