mirror of
https://github.com/hanzoai/firebase-js-sdk.git
synced 2026-09-24 16:59:10 +00:00
2.0 KiB
2.0 KiB
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
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;