RealtimeChannel
Represents a realtime channel
Types
Properties
The status of the channel as a StateFlow
The current SupabaseClient
Functions
Broadcasts can be messages sent by other clients within the same channel under a specific event.
Non-inline variant of broadcastFlow for implementation and mocking purposes
Listen for postgres changes in a channel.
Non-inline variant of postgresChangeFlow for implementation and mocking purposes
This function retrieves the initial data from the table and then listens for changes. It automatically handles inserts, updates and deletes.
This function retrieves the initial data for a single value and then listens for changes on that value. It automatically handles updates and closes the flow on the delete event.
Listen for clients joining / leaving the channel using presences
Listens for presence changes and caches the presences based on their keys. This function automatically handles joins and leaves.
Unsubscribes from the channel
Updates the JWT token for this client