MobX downloader
    Preparing search index...

    Class HTTPDownloadTask

    Hierarchy (View Summary)

    Index
    client: Pick<HTTPClient<Context>, "download"> = ...
    stream?: ReadableStream<Partial<TransferProgress>>
    executing: boolean
    fsHandle: FileSystemHandle | undefined
    id: string
    loaded: number

    The ProgressEvent.loaded read-only property is a number indicating the size of the data already transmitted or processed. The progress ratio can be calculated by dividing the value of this property by ProgressEvent.total.

    MDN Reference

    • get loadedSize(): ByteSize

      Returns ByteSize

    name: string
    options: DownloadOptions | undefined
    path: string
    percent: number
    total: number

    The ProgressEvent.total read-only property is a number indicating the total size of the data being transmitted or processed.

    MDN Reference

    • get totalSize(): ByteSize

      Returns ByteSize

    • Parameters

      • options: DownloadOptions | undefined = ...

      Returns Promise<ReadableStream<Partial<TransferProgress>>>

    • Returns {
          fsHandle: FileSystemHandle | undefined;
          id: string;
          loaded: number;
          name: string;
          options: DownloadOptions | undefined;
          path: string;
          percent: number;
          total: number;
      }