Type Alias: TRPCSubscriptionResult<TOutput, TError>
On this page
TRPCSubscriptionResult<
TOutput,TError>:TRPCSubscriptionIdleResult<TOutput> |TRPCSubscriptionConnectingResult<TOutput,TError> |TRPCSubscriptionErrorResult<TOutput,TError> |TRPCSubscriptionPendingResult<TOutput>
Defined in: subscriptionOptions.ts:169
The result of useSubscription. Check status to narrow it.
Type Parameters
| Type Parameter |
|---|
TOutput |
TError |