_handleReconnect() {
        if (this.reconnectTimeout) {
            return;
        }
        /**
         * Disconnected event emitted when decide got disconnected
         */
        this.emit('disconnected');
        if (this.autoReconnect) {
            debug('Handle reconnect');
            if (this.reconnectTimeout) {
                clearTimeout(this.reconnectTimeout);
            }
            this.reconnectTimeout = setTimeout(() => {
                this.reconnectTimeout = null;
                this.connect();
            }, this.options.reconnectDelay || RECONNECT_DELAY);
        }
    }
/**
     * Helper method to handle reconnection to the device
     *
     * @private
     */
Helper method to handle reconnection to the device
@private
Helper method to handle reconnection to the device @private
_handleReconnect() {
        if (this.reconnectTimeout) {
            return;
        }
        this.emit('disconnected');
        if (this.autoReconnect) {
            debug('Handle reconnect');
            if (this.reconnectTimeout) {
                clearTimeout(this.reconnectTimeout);
            }
            this.reconnectTimeout = setTimeout(() => {
                this.reconnectTimeout = null;
                this.connect();
            }, this.options.reconnectDelay || RECONNECT_DELAY);
        }
    }
_handleReconnect ( ) { if ( this . reconnectTimeout ) { return ; } this . emit ( 'disconnected' ) ; if ( this . autoReconnect ) { debug ( 'Handle reconnect' ) ; if ( this . reconnectTimeout ) { clearTimeout ( this . reconnectTimeout ) ; } this . reconnectTimeout = setTimeout ( ( ) => { this . reconnectTimeout = null ; this . connect ( ) ; } , this . options . reconnectDelay || RECONNECT_DELAY ) ; } }
Helper method to handle reconnection to the device
 @private
Helper method to handle reconnection to the device @private
/**
         * Disconnected event emitted when decide got disconnected
         */