StoreAdhocCached (open)
Lower level api: store a value directly in the cache
Syntax
LOADLIB "wh::adhoccache.whlib";
MACRO StoreAdhocCached(RECORD cachetag, RECORD storevalue)
Parameters
RECORD cachetag
Tag that uniquely identifies the result (local per calling whlib)
RECORD storevalue
Description of value to store
STRING ARRAY eventmasks
Masks of events that invalidate the stored value
ttl
Time to live in milliseconds, or DATETIME with expiration date