Skip to content
tRPC

Partners

Type Alias: TRPCSubscriptionResult<TOutput, TError>

On this page

TRPCSubscriptionResult<TOutput, TError>: TRPCSubscriptionIdleResult<TOutput> | TRPCSubscriptionConnectingResult<TOutput, TError> | TRPCSubscriptionErrorResult<TOutput, TError> | TRPCSubscriptionPendingResult<TOutput>

Defined in: tanstack-react-query/src/internals/subscriptionOptions.ts:170

The result of useSubscription. Check status to narrow it.

Type Parameters

Type Parameter
TOutput
TError