Constructors
Properties
Accessors
isStale
- get isStale(): boolean
Returns boolean
Methods
destroy
- destroy(): void
Returns void
get
- get(): Promise<T>
Returns Promise<T>
getCached
- getCached(): null | T
Returns null | T
setData
- setData(data: T, expiresIn: number): void
Returns void
update
- update(force?: boolean): Promise<void>
Returns Promise<void>
get the resource value, refreshing it if needed