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
get
isRunning():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
Returns
Promise
<number
>
Source
start()
start():
Promise
<void
>
Starts client function caching service.
Returns
Promise
<void
>
Source
stop()
stop():
void
Stops client function caching service.
Returns
void