Interface: TRPCSubscriptionBaseResult<TOutput, TError>
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:186
error
error:
null
|TError
Defined in
packages/react-query/src/shared/hooks/types.ts:187
reset()
reset: () =>
void
Reset the subscription
Returns
void
Defined in
packages/react-query/src/shared/hooks/types.ts:191
status
status:
"error"
|"idle"
|"connecting"
|"pending"