const onIsHubConnectedChange = (value, timestamp) => {
console.log(value, timestamp);
};
COBI.app.isHubConnected.read(onIsHubConnectedChange); // Instantly get the current value
COBI.app.isHubConnected.subscribe(onIsHubConnectedChange);
COBI.app.isHubConnected.unsubscribe(onIsHubConnectedChange);