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

x/live/deps.ts>supabase.RealtimeChannel#subscribe

deco is the edge-native site editor and app framework for building dynamic, high-performance sites with a built-in visual admin UI.
Go to Latest
method supabase.RealtimeChannel.prototype.subscribe
Re-export
import { supabase } from "https://deno.land/x/live@1.36.6/deps.ts";
const { RealtimeChannel } = supabase;

Subscribe registers your client with the server

Parameters

optional
callback: (status: `${REALTIME_SUBSCRIBE_STATES}`, err?: Error) => void
optional
timeout: number