Aller au contenu principal
Version : 11.x

Interface: TRPCSubscriptionBaseResult<TOutput, TError>

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

Extended by​

Type Parameters​

Type Parameter
TOutput
TError

Properties​

data​

data: undefined | TOutput

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


error​

error: null | TError

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


reset()​

reset: () => void

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

Reset the subscription

Returns​

void


status​

status: "error" | "idle" | "connecting" | "pending"

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