voxolith

openModelCacheOn()

openModelCache on a store of your own: deletes the entries of every other salt, then returns makeModelCache on it.

function openModelCacheOn(
   store: CacheStore, 
   salt: string, 
   opts?: ModelCacheOptions
): Promise<ModelCache>;

Defined in: engine/src/worker/cache.ts:449

Parameters

ParameterType
storeCacheStore
saltstring
opts?ModelCacheOptions

Returns

Promise<ModelCache>

On this page