LoadBundleTaskProgress interface

Represents a progress update or a final state from loading bundles.

Signature:

exportdeclareinterfaceLoadBundleTaskProgress

Properties

PropertyTypeDescription
bytesLoadednumberHow many bytes have been loaded.
documentsLoadednumberHow many documents have been loaded.
taskStateTaskStateCurrent task state.
totalBytesnumberHow many bytes are in the bundle being loaded.
totalDocumentsnumberHow many documents are in the bundle being loaded.

LoadBundleTaskProgress.bytesLoaded

How many bytes have been loaded.

Signature:

bytesLoaded:number;

LoadBundleTaskProgress.documentsLoaded

How many documents have been loaded.

Signature:

documentsLoaded:number;

LoadBundleTaskProgress.taskState

Current task state.

Signature:

taskState:TaskState;

LoadBundleTaskProgress.totalBytes

How many bytes are in the bundle being loaded.

Signature:

totalBytes:number;

LoadBundleTaskProgress.totalDocuments

How many documents are in the bundle being loaded.

Signature:

totalDocuments:number;