diff --git a/Cache/Memcached.js b/Cache/Memcached.js index b78b4f58..9db690bf 100644 --- a/Cache/Memcached.js +++ b/Cache/Memcached.js @@ -51,4 +51,17 @@ module.exports = class extends Cache { } + async gets (k) { + + return new Promise ((ok, fail) => { + this._.gets (k, this.cb (ok, fail)) + }) + } + + async cas (k, v, cas) { + + return new Promise ((ok, fail) => { + this._.cas(k, v, cas, 0, this.cb (ok, fail)) + }) + } } \ No newline at end of file