Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oak_nest/modules/redis/mod.ts>Redis

Refer to nestjs to realize some common functions for Deno
Go to Latest
interface Redis
implements RedisCommands
Re-export
import { type Redis } from "https://deno.land/x/oak_nest@v2.0.0/modules/redis/mod.ts";

Properties

readonly
isClosed: boolean
readonly
isConnected: boolean

Methods

sendCommand(command: string, ...args: RedisValue[]): Promise<RedisReply>

Low level interface for Redis server

connect(): Promise<void>
close(): void