src/wampy.js
/**
     * Resubscribe to topics in case of communication error
     * @private
     */
Resubscribe to topics in case of communication error
@private
Resubscribe to topics in case of communication error @private
_renewSubscriptions () {
        let i;
        const subs = this._subscriptions,
            st = this._subsTopics;
        this._subscriptions = {};
        this._subsTopics = new Set();
        for (let topic of st) {
            i = subs[topic].callbacks.length;
            while (i--) {
                this.subscribe(topic, subs[topic].callbacks[i], subs[topic].advancedOptions);
            }
        }
    }
_renewSubscriptions ( ) { let i ; const subs = this . _subscriptions , st = this . _subsTopics ; this . _subscriptions = { } ; this . _subsTopics = new Set ( ) ; for ( let topic of st ) { i = subs [ topic ] . callbacks . length ; while ( i -- ) { this . subscribe ( topic , subs [ topic ] . callbacks [ i ] , subs [ topic ] . advancedOptions ) ; } } }
Resubscribe to topics in case of communication error
 @private
Resubscribe to topics in case of communication error @private