Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
method supabase.RealtimeChannel.prototype.subscribe
Re-export
import { supabase } from "https://deno.land/x/blocks@1.72.0/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