A Realtime client option that disconnects the socket once the last channel has been closed for the given time. Left unset, the socket stays open.
Subscribe() connects the socket again. On earlier versions, call ConnectAsync() again before you create new channels.var options = new Supabase.Realtime.ClientOptions
{
DisconnectOnEmptyChannelsAfter = TimeSpan.FromSeconds(30)
};
var realtime = new Supabase.Realtime.Client("wss://<project>.supabase.co/realtime/v1", options);