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