ICacheService
Methods
get
**get**<TypeParameter T>(key): Promise<
null \| T>
T
objectRequiredParameters
key
stringRequiredReturns
Promise<null
| T>
Promise
Promise<null | T>Requiredinvalidate
**invalidate**(key): Promise<void>
Parameters
key
stringRequiredReturns
Promise<void>
Promise
Promise<void>Requiredset
**set**(key, data, ttl?): Promise<void>
Parameters
key
stringRequireddata
unknownRequiredttl
numberReturns
Promise<void>
Promise
Promise<void>RequiredWas this section helpful?