<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/firestore](./firestore.md) &gt; [/](./firestore_.md) &gt; [TaskState](./firestore_.taskstate.md)

## TaskState type

Represents the state of bundle loading tasks.

Both 'Error' and 'Success' are sinking state: task will abort or complete and there will be no more updates after they are reported.

<b>Signature:</b>

```typescript
export declare type TaskState = 'Error' | 'Running' | 'Success';
```
