rememberConnectionState

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

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