rememberConnectionState

fun rememberConnectionState(passedRoom: Room? = null): State<Room.State>

Returns the Room.State from passedRoom or the local RoomScope if null.