presenceDataFlow

Listens for presence changes and caches the presences based on their keys. This function automatically handles joins and leaves.

If you want more control, use the RealtimeChannel.presenceChangeFlow function.

Return

a Flow of the current presences in a list. This list is updated and emitted whenever a presence joins or leaves.