API ReferenceGameroomOnstatuschangeGameRoom.onStatusChange() method Signature: onStatusChange(listener: (status: ConnectionStatus) => unknown): () => void; Parameters Parameter Type Description listener (status: ConnectionStatus) => unknown **Returns:** () => void