QPromises wrapper for node-memcached node-memcached
qmemcached = new qMemcached("localhost:11211");
qmemcached
.set("foo", "bar", 1000)
.then(function(res){
console.log("Memcached updated:", res);
})
.fail(function(e){
throw e;
});
qmemcached = new qMemcached("localhost:11211");
qmemcached
.get("foo")
.then(function(value){
console.log(value);
})
.fail(function(e){
throw e;
});