Documentation - v20.0.0-dev
    Preparing search index...
    • Fetches a file whole, with headers, telling onDownload the bytes received as they come. Rejects on an HTTP error.

      Parameters

      • url: string
      • OptionalonDownload: (loaded: number, total: number) => void
      • Optionalheaders: Record<string, string>

      Returns Promise<ArrayBuffer>