Function: httpBatchLink()
On this page
httpBatchLink<
TRouter>(opts):TRPCLink<TRouter>
Defined in: packages/client/dist/httpBatchLink-Dxqsu9CE.d.mts:43
A terminating link that batches calls made in the same tick into one HTTP request.
Type Parameters
| Type Parameter |
|---|
TRouter extends AnyRouter |
Parameters
| Parameter | Type |
|---|---|
opts | HTTPBatchLinkOptions<TRouter["_def"]["_config"]["$types"]> |
Returns
TRPCLink<TRouter>