raptor-cache
Version:
Efficient JavaScript cache implementation that is safe for concurrent reads and writes
26 lines (18 loc) • 337 B
JavaScript
;
function VoidStore (options) {
}
VoidStore.prototype = {
free: function () {
},
get (key) {
return Promise.resolve(null);
},
put: function (key, cacheEntry) {
},
remove: function (key) {
},
flush () {
return Promise.resolve();
}
};
module.exports = VoidStore;