import { supabase } from "https://dotland.deno.dev/x/live@1.63.12/deps.ts";
const { RealtimeChannel } = supabase;
Leaves the channel.
Unsubscribes from server events, and instructs channel to terminate on server. Triggers onClose() hooks.
To receive leave acknowledgements, use the a receive
hook to bind to the server ack, ie:
channel.unsubscribe().receive("ok", () => alert("left!") )