constonIsHubConnectedChange= (value:boolean, timestamp?:Date) => {console.log(value, timestamp);};COBI.app.isHubConnected.read(onIsHubConnectedChange); // Instantly get the current valueCOBI.app.isHubConnected.subscribe(onIsHubConnectedChange);COBI.app.isHubConnected.unsubscribe(onIsHubConnectedChange);
constonIsHubConnectedChange= (value, timestamp) => {console.log(value, timestamp);};COBI.app.isHubConnected.read(onIsHubConnectedChange); // Instantly get the current valueCOBI.app.isHubConnected.subscribe(onIsHubConnectedChange);COBI.app.isHubConnected.unsubscribe(onIsHubConnectedChange);