PageSourceSearch

https://trpc.io/assets/js/052f2a46.a6c4c8e0.js

js trpc.io collected 2026-10-02 02:27:28 UTC 4,381 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwww=self.webpackChunkwww||[]).push([["31356"],{45592(e,t,r){r.r(t),r.d(t,{metadata:()=>s,default:()=>l,frontMatter:()=>n,contentTitle:()=>o,toc:()=>a,assets:()=>d});var s=JSON.parse('{"id":"typedoc/react-query/shared/type-aliases/TRPCSubscriptionResult","title":"Type Alias: TRPCSubscriptionResult\\\\<TOutput, TError\\\\>","description":"TRPCSubscriptionResult\\\\: TRPCSubscriptionIdleResult\\\\ \\\\| TRPCSubscriptionConnectingResult\\\\ \\\\| TRPCSubscriptionErrorResult\\\\ \\\\| TRPCSubscriptionPendingResult\\\\","source":"@site/docs/typedoc/react-query/shared/type-aliases/TRPCSubscriptionResult.md","sourceDirName":"typedoc/react-query/shared/type-aliases","slug":"/typedoc/react-query/shared/type-aliases/TRPCSubscriptionResult","permalink":"/docs/typedoc/react-query/shared/type-aliases/TRPCSubscriptionResult","draft":false,"unlisted":false,"editUrl":"https://github.com/trpc/trpc/tree/main/www/docs/typedoc/react-query/shared/type-aliases/TRPCSubscriptionResult.md","tags":[],"version":"current","frontMatter":{},"sidebar":"docs","previous":{"title":"Type Alias: TRPCProvider()\\\\<TRouter, TSSRContext\\\\>","permalink":"/docs/typedoc/react-query/shared/type-aliases/TRPCProvider"},"next":{"title":"Type Alias: UseTRPCPrefetchInfiniteQueryOptions\\\\<TInput, TOutput, TError\\\\>","permalink":"/docs/typedoc/react-query/shared/type-aliases/UseTRPCPrefetchInfiniteQueryOptions"}}'),c=r(27968),i=r(77334);let n={},o="Type Alias: TRPCSubscriptionResult<TOutput, TError>",d={},a=[{value:"Type Parameters",id:"type-parameters",level:2}];function u(e){let t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,i.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(t.header,{children:(0,c.jsx)(t.h1,{id:"type-alias-trpcsubscriptionresulttoutput-terror",children:"Type Alias: TRPCSubscriptionResult<TOutput, TError>"})}),"\n",(0,c.jsxs)(t.blockquote,{children:["\n",(0,c.jsxs)(t.p,{children:[(0,c.jsx)(t.strong,{children:"TRPCSubscriptionResult"}),"<",(0,c.jsx)(t.code,{children:"TOutput"}),", ",(0,c.jsx)(t.code,{children:"TError"}),">: ",(0,c.jsx)(t.a,{href:"/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionIdleResult",children:(0,c.jsx)(t.code,{children:"TRPCSubscriptionIdleResult"})}),"<",(0,c.jsx)(t.code,{children:"TOutput"}),"> | ",(0,c.jsx)(t.a,{href:"/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionConnectingResult",children:(0,c.jsx)(t.code,{children:"TRPCSubscriptionConnectingResult"})}),"<",(0,c.jsx)(t.code,{children:"TOutput"}),", ",(0,c.jsx)(t.code,{children:"TError"}),"> | ",(0,c.jsx)(t.a,{href:"/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionErrorResult",children:(0,c.jsx)(t.code,{children:"TRPCSubscriptionErrorResult"})}),"<",(0,c.jsx)(t.code,{children:"TOutput"}),", ",(0,c.jsx)(t.code,{children:"TError"}),"> | ",(0,c.jsx)(t.a,{href:"/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionPendingResult",children:(0,c.jsx)(t.code,{children:"TRPCSubscriptionPendingResult"})}),"<",(0,c.jsx)(t.code,{children:"TOutput"}),">"]}),"\n"]}),"\n",(0,c.jsxs)(t.p,{children:["Defined in: ",(0,c.jsx)(t.a,{href:"https://github.com/trpc/trpc/blob/f55eeb408e824a0443a78904644b7a5981644779/packages/react-query/src/shared/hooks/types.ts#L240",children:"packages/react-query/src/shared/hooks/types.ts:240"})]}),"\n",(0,c.jsx)(t.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,c.jsxs)(t.table,{children:[(0,c.jsx)(t.thead,{children:(0,c.jsx)(t.tr,{children:(0,c.jsx)(t.th,{children:"Type Parameter"})})}),(0,c.jsxs)(t.tbody,{children:[(0,c.jsx)(t.tr,{children:(0,c.jsx)(t.td,{children:(0,c.jsx)(t.code,{children:"TOutput"})})}),(0,c.jsx)(t.tr,{children:(0,c.jsx)(t.td,{children:(0,c.jsx)(t.code,{children:"TError"})})})]})]})]})}function l(e={}){let{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(u,{...e})}):u(e)}},77334(e,t,r){r.d(t,{R:()=>n,x:()=>o});var s=r(64700);let c={},i=s.createContext(c);function n(e){let t=s.useContext(i);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:n(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.