Skip to content

Interface: RemoteOptions

optional fetch?: (input, init?) => Promise<Response>

Defaults to the global fetch.

string | URL | Request

RequestInit

Promise<Response>


optional metaMaxAgeMs?: number

How long meta.json is trusted before it is fetched again. Default: one hour (the caching contract).


optional now?: () => number

Clock, for tests.

number


optional store?: ShardStore

Persistent cache beyond memory.

This product uses the TMDB API but is not endorsed or certified by TMDB.