constructor(storageSettings) { const options = RedisAdapter._defineOptions(storageSettings); // Call the ioredis constructor super(...RedisAdapter._defineLibrarySettings(options)); this._options = options; this._notReadyCommandsQueue = []; this._runningCommands = new _Set(); this._listenToEvents(); this._setTimeoutWrappers(); this._setDisconnectWrapper(); }
constructor(storageSettings) { const options = RedisAdapter._defineOptions(storageSettings); // Call the ioredis constructor super(...RedisAdapter._defineLibrarySettings(options)); this._options = options; this._notReadyCommandsQueue = []; this._runningCommands = new _Set(); this._listenToEvents(); this._setTimeoutWrappers(); this._setDisconnectWrapper(); }