<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/firestore](./firestore.md) &gt; [/](./firestore_.md) &gt; [LoadBundleTask](./firestore_.loadbundletask.md)

## 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>`<!-- -->.

<b>Signature:</b>

```typescript
export declare class LoadBundleTask implements PromiseLike<LoadBundleTaskProgress> 
```
<b>Implements:</b> PromiseLike&lt;[LoadBundleTaskProgress](./firestore_.loadbundletaskprogress.md)<!-- -->&gt;

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [catch(onRejected)](./firestore_.loadbundletask.catch.md) |  | Implements the <code>Promise&lt;LoadBundleTaskProgress&gt;.catch</code> interface. |
|  [onProgress(next, error, complete)](./firestore_.loadbundletask.onprogress.md) |  | Registers functions to listen to bundle loading progress events. |
|  [then(onFulfilled, onRejected)](./firestore_.loadbundletask.then.md) |  | Implements the <code>Promise&lt;LoadBundleTaskProgress&gt;.then</code> interface. |

