Skip to content

Latest commit

 

History

History
81 lines (41 loc) · 1.45 KB

CacheWrapper.md

File metadata and controls

81 lines (41 loc) · 1.45 KB

bandcamp-fetchDocs


bandcamp-fetch / CacheWrapper

Class: CacheWrapper

Constructors

new CacheWrapper()

new CacheWrapper(cache): CacheWrapper

Parameters

cache: Cache

Returns

CacheWrapper

Defined in

lib/BandcampFetch.ts:131

Methods

clear()

clear(type?): void

Parameters

type?: CacheDataType

Returns

void

Defined in

lib/BandcampFetch.ts:135


setMaxPages()

setMaxPages(maxPages): void

Parameters

maxPages: number

Returns

void

Defined in

lib/BandcampFetch.ts:143


setTTL()

setTTL(type, ttl): void

Parameters

type: CacheDataType

ttl: number

Returns

void

Defined in

lib/BandcampFetch.ts:139