Interface: TRPCResultMessage<TData>
All requests/responses extends this shape
Extends
ResultResponse
< {data
:never
;type
:"started"
;} | {data
:never
;type
:"stopped"
;} |TRPCResult
<TData
> & {type
:"data"
;} >
Type parameters
Parameter |
---|
TData |
Properties
id
optional
id:RequestId
Source
packages/core/dist/rpc/envelopes.d.ts:20
Inherited from
jsonrpc
optional
jsonrpc:"2.0"
Source
packages/core/dist/rpc/envelopes.d.ts:21
Inherited from
result
result: {
data
:undefined
;type
:"started"
;} | {data
:undefined
;type
:"stopped"
;} |TRPCResult
<TData
> & {type
:"data"
;}
Source
packages/core/dist/rpc/envelopes.d.ts:30
Inherited from
Generated using TypeDoc and typedoc-plugin-markdown