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

x/blocks/deps.ts>supabase.RealtimeChannel#send

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
method supabase.RealtimeChannel.prototype.send
Re-export
import { supabase } from "https://deno.land/x/blocks@1.60.10/deps.ts";
const { RealtimeChannel } = supabase;

Sends a message into the channel.

Parameters

args: { [key: string]: any; type: "broadcast" | "presence" | "postgres_changes"; event: string; payload?: any; }

Arguments to send to channel

optional
opts: { [key: string]: any; }

The type of event to send