Skip to main content
Version: 11.x

Interface: TRPCSubscriptionConnectingResult<TOutput, TError>

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

Extends

Type Parameters

Type Parameter
TOutput
TError

Properties

data

data: undefined | TOutput

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

Overrides

TRPCSubscriptionBaseResult.data


error

error: null | TError

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

Overrides

TRPCSubscriptionBaseResult.error


reset()

reset: () => void

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

Reset the subscription

Returns

void

Inherited from

TRPCSubscriptionBaseResult.reset


status

status: "connecting"

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

Overrides

TRPCSubscriptionBaseResult.status