Module

x/live/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
import { supabase } from "https://dotland.deno.dev/x/live@1.63.12/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