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

x/deco/deps.ts>supabase.RealtimePresence

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
class supabase.RealtimePresence
Re-export
import { supabase } from "https://deno.land/x/deco@1.75.1/deps.ts";
const { RealtimePresence } = supabase;

Constructors

new
RealtimePresence(channel: RealtimeChannel, opts?: PresenceOpts)

Initializes the Presence.

Properties

caller: { onJoin: PresenceOnJoinCallback; onLeave: PresenceOnLeaveCallback; onSync: () => void; }
joinRef: string | null
pendingDiffs: RawPresenceDiff[]