the reference
the storage key
the cached value or undefined
Returns the cache entry by a specific key of a given reference. If the cache is not filled and the key doesn't exisit, the factory function is called to generate a value. This value will be cached and returned.
the cached value
Returns the cache entry by a specific key of a given reference. If the cache is not filled and the key doesn't exisit this will retrun undefined.