GameRoom.status property

Returns the status of the connection; possible values are: "disconnected", "connecting", "connected"

Signature:

get status(): "disconnected" | "connecting" | "connected";