Methods
delete
- delete(resource: ResourceData): void
get
- get(resource: ResourceData): null | C
Parameters
Returns null | C
getFromName
- getFromName(name: string): null | C
Parameters
Returns null | C
set
- set(resource: ResourceData, content: C): void
Parameters
resource: ResourceData
content: C
Returns void
A cache of resources that helps ensuring that files are only downloaded once.