ClientCache
Defined in: src/functions.ts:193
Client caching service that caches results of function invocations and stores them in the IndexedDb.
Constructors
Constructor
new ClientCache():
ClientCache
Returns
ClientCache
Accessors
isRunning
Get Signature
get isRunning():
any
Defined in: src/functions.ts:211
Indicates whether the caching service is running.
Returns
any
Methods
cleanup()
cleanup():
Promise<void>
Defined in: src/functions.ts:205
Removes expired records. Normally, Datagrok does it automatically when needed.
Returns
Promise<void>
clear()
clear(
metaId?):Promise<void>
Defined in: src/functions.ts:196
Clears cache content.
Parameters
| Parameter | Type |
|---|---|
metaId? | string |
Returns
Promise<void>
getRecordCount()
getRecordCount():
Promise<number>
Defined in: src/functions.ts:208
Returns the number of
Returns
Promise<number>
start()
start():
Promise<void>
Defined in: src/functions.ts:199
Starts client function caching service.
Returns
Promise<void>
stop()
stop():
void
Defined in: src/functions.ts:202
Stops client function caching service.
Returns
void