LoadBundleTaskProgress interface

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

Signature:

export declare interface LoadBundleTaskProgress 

Properties

Property Type Description
bytesLoaded number How many bytes have been loaded.
documentsLoaded number How many documents have been loaded.
taskState TaskState Current task state.
totalBytes number How many bytes are in the bundle being loaded.
totalDocuments number How 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;