Skip to main content
Module

x/live/deps.ts>supabase.Subscription

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Very Popular
Go to Latest
interface supabase.Subscription
import { type supabase } from "https://deno.land/x/live@1.75.5/deps.ts";
const { Subscription } = supabase;

Properties

id: string

The subscriber UUID. This will be set by the client.

callback: (event: AuthChangeEvent, session: Session | null) => void

The function to call every time there is an event. eg: (eventName) => {}

unsubscribe: () => void

Call this to remove the listener.