Skip to main content
Module

x/supabase/mod.ts>Subscription

An isomorphic Javascript client for Supabase.
Go to Latest
interface Subscription
import { type Subscription } from "https://deno.land/x/supabase@1.3.1/mod.ts";

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.