Interface: RemoteOptions
Extended by
Section titled “Extended by”Properties
Section titled “Properties”fetch?
Section titled “fetch?”
optionalfetch?: (input,init?) =>Promise<Response>
Defaults to the global fetch.
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
metaMaxAgeMs?
Section titled “metaMaxAgeMs?”
optionalmetaMaxAgeMs?:number
How long meta.json is trusted before it is fetched again. Default: one hour (the caching contract).
optionalnow?: () =>number
Clock, for tests.
Returns
Section titled “Returns”number
store?
Section titled “store?”
optionalstore?:ShardStore
Persistent cache beyond memory.
This product uses the TMDB API but is not endorsed or certified by TMDB.