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

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

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
method supabase.RealtimeChannel.prototype.subscribe
Re-export
import { supabase } from "https://deno.land/x/blocks@1.63.13/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