# Interface: TRPCSubscriptionPendingResult<TOutput>

> 

Defined in: [packages/react-query/src/shared/hooks/types.ts:297](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/react-query/src/shared/hooks/types.ts#L297)

`useSubscription` result while the subscription is active. It stays
`pending` after data arrives, so `data` may be set.

## Extends

- [`TRPCSubscriptionBaseResult`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md)\<`TOutput`, `undefined`\>

## Type Parameters

| Type Parameter |
| ------ |
| `TOutput` |

## Properties

### data

> **data**: `undefined` \| `TOutput`

Defined in: [packages/react-query/src/shared/hooks/types.ts:301](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/react-query/src/shared/hooks/types.ts#L301)

#### Overrides

[`TRPCSubscriptionBaseResult`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md).[`data`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md#data)

***

### error

> **error**: `null`

Defined in: [packages/react-query/src/shared/hooks/types.ts:302](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/react-query/src/shared/hooks/types.ts#L302)

#### Overrides

[`TRPCSubscriptionBaseResult`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md).[`error`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md#error)

***

### reset()

> **reset**: () => `void`

Defined in: [packages/react-query/src/shared/hooks/types.ts:267](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/react-query/src/shared/hooks/types.ts#L267)

Reset the subscription

#### Returns

`void`

#### Inherited from

[`TRPCSubscriptionBaseResult`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md).[`reset`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md#reset)

***

### status

> **status**: `"pending"`

Defined in: [packages/react-query/src/shared/hooks/types.ts:300](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/react-query/src/shared/hooks/types.ts#L300)

#### Overrides

[`TRPCSubscriptionBaseResult`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md).[`status`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md#status)
