setter method
yarosdev opened this issue · comments
Yaroslav commented
It would be great to be possible preset cached value.
const anyValue = "anyvalue";
memoized.set(...args, anyValue);
const result = memoized(...args); // Hit cache
Mariusz Nowak commented