var/www/node_modules/ioredis/built/command.js
/**
     * Convert the value from buffer to the target encoding.
     *
     * @private
     * @param {Function} resolve The resolve function of the Promise
     * @returns {Function} A funtion to transform and resolve a value
     * @memberof Command
     */
Convert the value from buffer to the target encoding.
@private
@param {Function} resolve The resolve function of the Promise
@returns {Function} A funtion to transform and resolve a value
@memberof Command
Convert the value from buffer to the target encoding . @private @param { Function } resolve The resolve function of the Promise @returns { Function } A funtion to transform and resolve a value @memberof Command
_convertValue(resolve) {
        return (value) => {
            try {
                resolve(this.transformReply(value));
            }
            catch (err) {
                this.reject(err);
            }
            return this.promise;
        };
    }
_convertValue ( resolve ) { return ( value ) => { try { resolve ( this . transformReply ( value ) ) ; } catch ( err ) { this . reject ( err ) ; } return this . promise ; } ; }
Convert the value from buffer to the target encoding.
Convert the value from buffer to the target encoding .