Arguments array infered from passed function to cache
Value that is returned from operation, infered from passed function
Cache instance
new Map()
Function used to calculate cache key
(...args) => JSON.stringify(args)
returned value used as a cache key
Time for how long cached value is valid in ms. Defaults to 1h
3600000