Onstatuschange

GameRoom.onStatusChange() method

Signature:

onStatusChange(listener: (status: ConnectionStatus) => unknown): () => void;

Parameters

Parameter

Type

Description

listener

(status: ConnectionStatus) => unknown

**Returns:**

() => void