this method will create Indexed DB with given namespace
This method will delete the cache for given key
the key using which data can be indexed
is a optional parameter. It is the type of cache to be used. It will be of the type CacheType Enum. If not specified it will be indexed db
this method will return cached response for given key
the key where data is indexed
is a optional parameter. It is the type of cache to be used. It will be of the type CacheType Enum. If not specified it will be indexed db
getCachedResults will return the cached Api reponse for given Indexed DB key within cache duration
the key used to get the cached data, if it is within cacheExpiration time
getCachedResultsLocalStorage will return the cached Api reponse for given Local Storage key within cache duration
the key used to get the cached data, if it is within cacheExpiration time
getCachedResultsSessiomStorage will return the cached Api reponse for given Session Storage key within cache duration
the key used to get the cached data, if it is within cacheExpiration time
Method to fetch cache if reload is true
is the Indexed DB key to cache data
value set to specify if data should be fetched from cache.
is a optional parameter. It is the type of cache to be used. It will be of the type CacheType Enum. If not specified it will be indexed db
This method will return all the keys for current Database and the store
This method will set the cache for given key
the key where data should be indexed
the value which should be stored in indexed DB
is a optional parameter. It is the type of cache to be used. It will be of the type CacheType Enum. If not specified it will be indexed db
setCache sets the result to the cache
is the key to cache data
is the data which needs to be cached
is the duration for which cache should be accessible
is a optional parameter. It is the type of cache to be used. It will be of the type CacheType Enum. If not specified it will be indexed db
setResultsCache sets the result to the Indexed DB
is the Indexed DB key to cache data
is the data which needs to be cached
is the duration for which cache should be accessible
setResultsCacheLocalStorage sets the result to the Local Storage
is the Local Storage key to cache data
is the data which needs to be cached
is the duration for which cache should be accessible
setResultsCacheSessionStorage sets the result to the session Storage
is the session Storage key to cache data
is the data which needs to be cached
is the duration for which cache should be accessible
Generated using TypeDoc
This method will clear the indexed DB store