FetchOptions
ts
type FetchOptions: object;
Configures remote assets downloading behaviour.
Type declaration
delay
ts
delay: number;
How long to wait before restarting a failed download, in seconds; 6 by default.
retries
ts
retries: number;
How many times to restart the download when request fails; 3 by default.
root
ts
root: string;
Local directory to store downloaded remote content files; ./public/imgit/fetched
by default.
timeout
ts
timeout: number;
How long to wait when downloading remote asset, in seconds; 30 by default.