ClientCache
Client caching service that caches results of function invocations and stores them in the IndexedDb.
Constructors
new ClientCache()
new ClientCache():
ClientCache
Returns
Accessors
isRunning
getisRunning():any
Indicates whether the caching service is running.
Returns
any
Source
Methods
cleanup()
cleanup():
Promise<void>
Removes expired records. Normally, Datagrok does it automatically when needed.
Returns
Promise<void>
Source
clear()
clear(
metaId?):Promise<void>
Clears cache content.
Parameters
| Parameter | Type |
|---|---|
metaId? | string |
Returns
Promise<void>
Source
getRecordCount()
getRecordCount():
Promise<number>
Returns the number of