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

x/upstash_redis/pkg/commands/mod.ts>PublishCommand

HTTP based Redis Client for Serverless and Edge Functions
Extremely Popular
Go to Latest
class PublishCommand
extends Command<number, number>
import { PublishCommand } from "https://deno.land/x/upstash_redis@v1.20.5-canary.0/pkg/commands/mod.ts";

Constructors

new
PublishCommand(cmd: [string, TMessage], opts?: CommandOptions<number, number>)

Type Parameters

optional
TMessage = unknown