You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
chore: refactor flush and error
This commit is contained in:
@@ -107,6 +107,12 @@ Multi.prototype.quit = function quit () {
|
||||
return this
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Return a function that receives the raw info data and convert to an object.
|
||||
*
|
||||
* @param {RedisClient} client
|
||||
* @returns {function}
|
||||
*/
|
||||
function infoCallback (client) {
|
||||
return function (err, res) {
|
||||
if (err) {
|
||||
|
Reference in New Issue
Block a user