Skip to content
tRPC

Partners

Interface: TRPCProcedureOptions

On this page

Defined in: packages/client/dist/types-DO-GCB2q.d.mts:81

The options of a call made with the client, such as client.post.byId.query(input, opts).

Properties

context?

optional context: ClientContext

Defined in: packages/client/dist/types-DO-GCB2q.d.mts:86

Context for the links, such as a flag a splitLink reads.

See

https://trpc.io/docs/client/links#managing-context


signal?

optional signal: AbortSignal

Defined in: packages/client/dist/types-DO-GCB2q.d.mts:92

Aborts the call. With httpBatchLink, the request is only aborted once every call in its batch is, so an aborted call can still get a result.

See

https://trpc.io/docs/client/vanilla/aborting-procedure-calls