Home > @firebase/firestore > / > LoadBundleTask
LoadBundleTask class
Represents the task of loading a Firestore bundle. It provides progress of bundle loading, as well as task completion and error events.
The API is compatible with Promise<LoadBundleTaskProgress>
.
Signature:
export declare class LoadBundleTask implements PromiseLike<LoadBundleTaskProgress>
Implements: PromiseLike<LoadBundleTaskProgress>
Methods
Method | Modifiers | Description |
---|---|---|
catch(onRejected) | Implements the Promise<LoadBundleTaskProgress>.catch interface. |
|
onProgress(next, error, complete) | Registers functions to listen to bundle loading progress events. | |
then(onFulfilled, onRejected) | Implements the Promise<LoadBundleTaskProgress>.then interface. |