Constructors
Properties
ProtectedforceUpdateTimeout
forceUpdateTimeout: number
isDestroyed
isDestroyed: boolean = false
ProtectedmaxCacheSize
maxCacheSize: number = 30
Methods
delete
delete(key: string): boolean
getCacheStats
getCacheStats(): { newestEntry?: number; oldestEntry?: number; size: number } Returns { newestEntry?: number; oldestEntry?: number; size: number }
ProtectedgetCacheTypeName
getCacheTypeName(): string
getDataForFile
getDataForFile(sourcePath: string): Promise<EquationMatch[] | undefined>
getEquationsForFile
getEquationsForFile(sourcePath: string): Promise<EquationMatch[] | undefined>
updateCache
updateCache(sourcePath: string): Promise<void>
Get statistcs about the cache