Class SharedPromiseCache

A cache for parts of a PMTiles archive where promises can be shared between requests.

Only caches headers and directories, not individual tile contents.

Constructors

Properties

cache: Map<string, SharedPromiseCacheValue>
counter: number
decompress: DecompressFunc
invalidations: Map<string, Promise<void>>
maxCacheEntries: number

Methods

  • Parameters

    Returns Promise<ArrayBuffer>

  • Parameters

    Returns Promise<Entry[]>

  • Parameters

    Returns Promise<void>

Generated using TypeDoc