connectionState property

Reactive signal reflecting the current RealtimeConnectionState.

Reading .value in a reactive context automatically triggers re-evaluation when the connection status changes.

Live(() => P(text: 'Status: ${binding.connectionState.value.name}'))

Implementation

ReadonlySignal<RealtimeConnectionState> get connectionState =>
    _connectionState.readonly();