-
-
Save jkantr/871752a12099f7b5bcbd0496fe59c79f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cache.remember('key', 600, function() { | |
return Promise.resolve('value2'); | |
}).then((val) => { | |
console.log('set: ', val); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment