Interface: TRPCSubscriptionBaseResult<TOutput, TError>
Defined in: packages/react-query/src/shared/hooks/types.ts:189
Extended by
TRPCSubscriptionIdleResult
TRPCSubscriptionConnectingResult
TRPCSubscriptionPendingResult
TRPCSubscriptionErrorResult
Type Parameters
Type Parameter |
---|
TOutput |
TError |
Properties
data
data:
undefined
|TOutput
Defined in: packages/react-query/src/shared/hooks/types.ts:191
error
error:
null
|TError
Defined in: packages/react-query/src/shared/hooks/types.ts:192
reset()
reset: () =>
void
Defined in: packages/react-query/src/shared/hooks/types.ts:196
Reset the subscription
Returns
void
status
status:
"error"
|"idle"
|"connecting"
|"pending"
Defined in: packages/react-query/src/shared/hooks/types.ts:190