Interface DownloaderInterface

Defines the interface for a downloader. It allows us to fetch files from given URIs.

Hierarchy

  • DownloaderInterface

Properties

Properties

download: ((uris: string[], options?: DownloaderOptions) => Promise<GenericFile[]>)

Type declaration

downloadJson: (<T>(uri: string, options?: DownloaderOptions) => Promise<T>)

Type declaration

    • <T>(uri: string, options?: DownloaderOptions): Promise<T>
    • Downloads and parses a JSON file from a given URI.

      Type Parameters

      • T

      Parameters

      Returns Promise<T>

Generated using TypeDoc