Aller au contenu principal
Version : 11.x

Interface: TRPCSubscriptionConnectingResult<TOutput, TError>

Defined in: packages/react-query/src/shared/hooks/types.ts:204

Extends​

Type Parameters​

Type Parameter
TOutput
TError

Properties​

data​

data: undefined | TOutput

Defined in: packages/react-query/src/shared/hooks/types.ts:207

Overrides​

TRPCSubscriptionBaseResult.data


error​

error: null | TError

Defined in: packages/react-query/src/shared/hooks/types.ts:208

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: "connecting"

Defined in: packages/react-query/src/shared/hooks/types.ts:206

Overrides​

TRPCSubscriptionBaseResult.status