Skip to content
tRPC

Partners

Interface: TRPCProcedureOptions

On this page

Defined in: packages/client/dist/types-BG-3kpeg.d.mts:80

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-BG-3kpeg.d.mts:85

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-BG-3kpeg.d.mts:91

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