docs: function memoizedFunction() {
          for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
              args[_key] = arguments[_key];
          }
  
          var cache = cacheMap.getOrSet(options.thisNamespace ? this : method, function () {
              return {};
          });
  
          var key = serializeArgs(args);
  
          var cacheTime = options.time;
          if (cache[key] && cacheTime && Date.now() - cache[key].time < cacheTime) {
              delete cache[key];
          }
  
          if (cache[key]) {
              return cache[key].value;
          }
  
          var time = Date.now();
          var value = method.apply(this, arguments);
  
          cache[key] = { time: time, value: value };
  
          return cache[key].value;
      }