JS API Reference

Class: DownloadData

script/command.DownloadData

Hierarchy

  • Transfer<Uint8Array>

    DownloadData

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new DownloadData(storageProvider, srcPath): DownloadData

Parameters

NameType
storageProviderStorageProvider
srcPathstring

Returns

DownloadData

Overrides

Transfer&lt;Uint8Array&gt;.constructor

Defined in

src/script/command.ts:199

Properties

from

Protected Optional from: string

Inherited from

Transfer.from

Defined in

src/script/command.ts:116


to

Protected Optional to: string

Inherited from

Transfer.to

Defined in

src/script/command.ts:117


args

Protected args: Record<string, unknown>

Inherited from

Transfer.args

Defined in

src/script/command.ts:16

Methods

before

before(): Promise<void>

Returns

Promise<void>

Overrides

Transfer.before

Defined in

src/script/command.ts:207


after

after(result): Promise<Result<Uint8Array>>

Parameters

NameType
resultResult<any>

Returns

Promise<Result<Uint8Array>>

Overrides

Transfer.after

Defined in

src/script/command.ts:214


toJson

toJson(): Object

Returns

Object

Inherited from

Transfer.toJson

Defined in

src/script/command.ts:25


toExeScriptRequest

toExeScriptRequest(): ExeScriptRequest

Returns

ExeScriptRequest

Inherited from

Transfer.toExeScriptRequest

Defined in

src/script/command.ts:31

Was this helpful?