return result from memcached.get()?
I am using npm memcached package https://www.npmjs.com/package/memcached It is possible to return data from memcached get method? Now return data is undefined/ memcached.set('foo', 'bar', 10, function (err) { }); let data1; memcached.get('foo', function (err, data) { console.log(data); // bar data1…