Package-level declarations
Types
Represents a postgres action, containing an old record.
Represents a postgres action, containing a record.
Represents a postgres action
Used to filter postgres changes
Represents a presence action
Plugin for interacting with the supabase realtime api
Represents a realtime channel
Used to build a realtime channel
Represents a message retrieved by the RealtimeChannel
Properties
Functions
Broadcasts can be messages sent by other clients within the same channel under a specific event.
Creates a new RealtimeChannel
Decodes all PresenceAction.joins values as T
Decodes all PresenceAction.leaves values as T
Decodes HasOldRecord.oldRecord as T and returns it
Decodes HasOldRecord.oldRecord as T and returns it or returns null when it cannot be decoded as T
Decodes HasRecord.record as T and returns it
Decodes HasRecord.record as T and returns it or returns null when it cannot be decoded as T
Listen for postgres changes in a channel.
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.
Listens for presence changes and caches the presences based on their keys. This function automatically handles joins and leaves.
Executes vertical filtering with select on PostgrestQueryBuilder.table and PostgrestQueryBuilder.schema and returns a Flow of a list of values matching the filter. This function listens for changes in the table and emits the new list whenever a change occurs.
Executes vertical filtering with select on PostgrestQueryBuilder.table and PostgrestQueryBuilder.schema and returns a Flow of a single value matching the filter. This function listens for changes in the table and emits the new value whenever a change occurs.