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

x/deco/deps.ts>supabase.RealtimePresence

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
class supabase.RealtimePresence
Re-export
import { supabase } from "https://deno.land/x/deco@1.35.3/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[]