Class DownloadTaskAbstract

Hierarchy (View Summary)

Implements

Constructors

Properties

client: Pick<HTTPClient<Context>, "download">
stream?: ReadableStream<Partial<TransferProgress>>

Accessors

executing: any
fsHandle: any
id: any
loaded: any
  • get loadedSize(): ByteSize

    Returns ByteSize

name: any
options: any
path: any
percent: any
total: any
  • get totalSize(): ByteSize

    Returns ByteSize

Methods

  • Parameters

    • options: DownloadOptions = ...

    Returns Promise<ReadableStream<Partial<TransferProgress>>>

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

  • Parameters

    • URI: string

    Returns string