import { type RealtimeReleaseProvider } from "https://deno.land/x/live@1.56.1/engine/releases/realtime.ts";
Methods
subscribe(onChange: (arg: CurrResolvables) => void, cb: (status: `${supabase.REALTIME_SUBSCRIBE_STATES}`, err?: Error) => void): void
When called, receives the onChange
function that will be called when the release has changed,
and the cb
function that will be called when the subscription state change. The cb function can be used to determine if it should fallsback to background updates or not.