1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

chore: add callback functionality back in

This also improves the performance for multi / batch commands a lot.
The reason is that now there are only callbacks internally even if
a promise is going to be returned in the end.
This commit is contained in:
Ruben Bridgewater
2017-11-29 19:16:40 -02:00
parent 2b4ab10305
commit d7c31da598
10 changed files with 288 additions and 184 deletions

View File

@@ -3,7 +3,7 @@
const Queue = require('denque')
const EventEmitter = require('events')
const net = require('net')
const Command = require('./command')
const { Command } = require('./command')
const connect = require('./connect')
const debug = require('./debug')
const flushAndError = require('./flushAndError')