For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

Flutter: onHeartbeat

A Stream that emits a status every time the Realtime client sends a heartbeat, receives an acknowledgement, or when a heartbeat goes unanswered.

Examples

Listen to heartbeat status

final subscription = supabase.realtime.onHeartbeat.listen((status) {
  print('Heartbeat status: $status');
});