Interface: TRPCSubscriptionErrorResult<TOutput, TError>
Defined in: packages/react-query/src/shared/hooks/types.ts:218
Extends​
TRPCSubscriptionBaseResult<TOutput,TError>
Type Parameters​
| Type Parameter |
|---|
TOutput |
TError |
Properties​
data​
data:
undefined|TOutput
Defined in: packages/react-query/src/shared/hooks/types.ts:221
Overrides​
TRPCSubscriptionBaseResult.data
error​
error:
TError
Defined in: packages/react-query/src/shared/hooks/types.ts:222
Overrides​
TRPCSubscriptionBaseResult.error
reset()​
reset: () =>
void
Defined in: packages/react-query/src/shared/hooks/types.ts:194
Reset the subscription
Returns​
void
Inherited from​
TRPCSubscriptionBaseResult.reset
status​
status:
"error"
Defined in: packages/react-query/src/shared/hooks/types.ts:220