Renamed connection status variable
This commit is contained in:
@@ -284,12 +284,12 @@ export function Client(cid, secret) {
|
||||
|
||||
this.secret = secret;
|
||||
this.cid = cid;
|
||||
this.connected = reactive({ value: true });
|
||||
this.status = reactive({ connected: true });
|
||||
|
||||
this.close = function() {
|
||||
console.log('CLOSE', cid);
|
||||
if(heartbeat) window.clearInterval(heartbeat);
|
||||
this.connected.value = false;
|
||||
this.status.connected = false;
|
||||
return vista.close(cid);
|
||||
};
|
||||
this.call = async function(body, ...params) {
|
||||
|
Reference in New Issue
Block a user