src/wampy.js
/**
     * Reset internal state and cache
     * @private
     */
Reset internal state and cache
@private
Reset internal state and cache @private
_resetState () {
        this._wsQueue = [];
        this._subscriptions = {};
        this._subsTopics = new Set();
        this._requests = {};
        this._calls = {};
        this._rpcRegs = {};
        this._rpcNames = new Set();
        this._cache = {
            reqId               : 0,
            reconnectingAttempts: 0
        };
    }
_resetState ( ) { this . _wsQueue = [ ] ; this . _subscriptions = { } ; this . _subsTopics = new Set ( ) ; this . _requests = { } ; this . _calls = { } ; this . _rpcRegs = { } ; this . _rpcNames = new Set ( ) ; this . _cache = { reqId : 0 , reconnectingAttempts : 0 } ; }
Reset internal state and cache
 @private
Reset internal state and cache @private
// Just keep attrs that are have to be present