Subscription
import type { Subscription } from "https://esm.sh/@supabase/supabase-js@2.89.0/dist/index.d.mts";interface Subscription {
callback: (event: AuthChangeEvent, session: Session | null) => void;
id: string | symbol;
unsubscribe: () => void;
}§Properties
§
callback: (event: AuthChangeEvent, session: Session | null) => void
[src]The function to call every time there is an event. eg: (eventName) => {}