Skip to content
tRPC

Partners

Interface: TRPCResult<TData>

On this page

Defined in: packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:73

The result of a successful response.

Type Parameters

Type ParameterDefault type
TDataunknown

Properties

data

data: TData

Defined in: packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:74


id?

optional id: string

Defined in: packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:79

The id of the message to keep track of in case of a reconnect


type?

optional type: "data"

Defined in: packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:75