Difference between stream() and onPostgresChanges()

Seems like supabase provides two ways to listen to realtime database changes. Stream() and onPostgresChanges().
What is the difference between these methods? Trying to figure out which way is better for a chat feature.
Was this page helpful?