You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Add a better promise documentation and add some tests
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
// helpers for configuring a redis client in
|
||||
// its various modes, ipV6, ipV4, socket.
|
||||
var redis = require('../../index');
|
||||
var bluebird = require('bluebird');
|
||||
|
||||
// Promisify everything
|
||||
bluebird.promisifyAll(redis.RedisClient.prototype);
|
||||
bluebird.promisifyAll(redis.Multi.prototype);
|
||||
|
||||
var config = {
|
||||
redis: redis,
|
||||
|
Reference in New Issue
Block a user