Interface: TRPCSubscriptionPendingResult<TOutput>
On this page
Defined in: packages/react-query/src/shared/hooks/types.ts:297
useSubscription result while the subscription is active. It stays
pending after data arrives, so data may be set.
Extends
TRPCSubscriptionBaseResult<TOutput,undefined>
Type Parameters
| Type Parameter |
|---|
TOutput |
Properties
data
data:
undefined|TOutput
Defined in: packages/react-query/src/shared/hooks/types.ts:301
Overrides
TRPCSubscriptionBaseResult.data
error
error:
null
Defined in: packages/react-query/src/shared/hooks/types.ts:302
Overrides
TRPCSubscriptionBaseResult.error
reset()
reset: () =>
void
Defined in: packages/react-query/src/shared/hooks/types.ts:267
Reset the subscription
Returns
void
Inherited from
TRPCSubscriptionBaseResult.reset
status
status:
"pending"
Defined in: packages/react-query/src/shared/hooks/types.ts:300