Тест мержа
This commit is contained in:
@@ -67,6 +67,7 @@ export default class Protocol extends EventEmitter {
|
||||
public startHeartbeat(intervalS : number) {
|
||||
const heartbeat = () => {
|
||||
if(this.socket && this.socket.readyState === WebSocket.OPEN){
|
||||
console.info("HEARTBEAT");
|
||||
this.socket?.send('heartbeat');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user