We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 673b177 commit 59db10dCopy full SHA for 59db10d
README.md
@@ -86,8 +86,7 @@ You can also use node_redis with promises by promisifying node_redis with
86
87
```js
88
const redis = require('redis');
89
-bluebird.promisifyAll(redis.RedisClient.prototype);
90
-bluebird.promisifyAll(redis.Multi.prototype);
+bluebird.promisifyAll(redis);
91
```
92
93
It'll add a *Async* to all node_redis functions (e.g. return client.getAsync().then())
0 commit comments