connected

abstract val connected: StateFlow<Boolean>

True while the link is up; flips to false on disconnect (drop or local close).