Skip to main content

ContextCache

@webda/core


Variable: ContextCache

const ContextCache: {(value, context): void | AnyMethod; (...args): (value, context) => void | AnyMethod; } & object

Defined in: packages/core/src/cache/cache.ts:7

Type Declaration​

clear​

clear: (target, propertyKey, ...args) => void

Parameters​

target​

object

propertyKey​

string

args​

...any[]

Returns​

void

clearAll​

clearAll: (target, propertyKey?) => void

Parameters​

target​

object

propertyKey?​

string

Returns​

void

garbageCollect​

garbageCollect: () => void

Returns​

void

getStats​

getStats: () => CacheStats

Returns​

CacheStats

resetStats​

resetStats: () => void

Returns​

void