memcache-client-memoizer
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "memcache-client-memoizer", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Memoizes promise-returning functions via memcache-client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -40,3 +40,3 @@ ## memcache-client-memoizer | ||
const client = new MemcacheClient({ server: 'localhost:11211' }) | ||
const fnToMemoize = ({ name, color }) => Promise.resolve(input) | ||
const fnToMemoize = ({ name, color }) => Promise.resolve({ name, color }) | ||
@@ -43,0 +43,0 @@ const memoizedFn = memoizer({ |
120601