import { supabase } from "https://deno.land/x/live@1.55.1/deps.ts";
const { RealtimeChannel } = supabase;
The following is placed here to display on supabase.com/docs/reference/javascript/subscribe.
Parameters
Custom object specific to the Realtime feature detailing which payloads to receive.
Parameters
callback: (payload: { type: `${REALTIME_LISTEN_TYPES.BROADCAST}`; event: string; payload: T; }) => void