Aller au contenu principal
Version : 11.x

Interface: TRPCSubscriptionPendingResult<TOutput>

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

Extends​

Type Parameters​

Type Parameter
TOutput

Properties​

data​

data: undefined | TOutput

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

Overrides​

TRPCSubscriptionBaseResult.data


error​

error: null

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

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

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

Overrides​

TRPCSubscriptionBaseResult.status