UNPKG

ram64

Version:

Multi-threaded 64bit memory cache database inspired by redis-like features

15 lines (14 loc) 326 B
"use strict"; exports.fn = void 0; var _del = require("./del"); const fn = (opts)=>{ const shard = opts.shard; const obj = opts.args; if (obj?.value === undefined) { (0, _del).fn(opts); } else { shard.map.set(opts.key, obj); } }; exports.fn = fn; //# sourceMappingURL=setWithOptions.js.map