You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I could not use the .then() interface at all:
// var redis = require('redis');// bluebird.promisifyAll(redis.RedisClient.prototype);varredis=bluebird.promisifyAll(require('redis'));varclient=redis.createClient(_options.redisUrl);client.hgetall(_hash).then(/*...*/);
The VM simply keeps saying TypeError: client.hgetall(...).then is not a function. Is there a problem with the current implementation of node_redis or am i just too stupid to do it right?
cheers
Jakob
The text was updated successfully, but these errors were encountered:
Hello everyone,
I am using node_redis 2.2.5
I think the promisification might break in this version. Follwing the README.md brought no success:
I also tried using the approach as seen in #606 (comment):
And finally:
However, I could not use the .then() interface at all:
The VM simply keeps saying TypeError: client.hgetall(...).then is not a function. Is there a problem with the current implementation of node_redis or am i just too stupid to do it right?
cheers
Jakob
The text was updated successfully, but these errors were encountered: