Subscription
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) => {}