Function: httpBatchStreamLink()
On this page
httpBatchStreamLink<
TRouter>(opts):TRPCLink<TRouter, {context:AugmentedOperationContext; }>
Defined in: packages/client/src/links/httpBatchStreamLink.ts:54
A terminating link that batches calls like httpBatchLink, but streams each
response back as soon as it is ready.
Type Parameters
| Type Parameter |
|---|
TRouter extends AnyRouter |
Parameters
| Parameter | Type |
|---|---|
opts | HTTPBatchStreamLinkOptions<TRouter["_def"]["_config"]["$types"]> |
Returns
TRPCLink<TRouter, { context: AugmentedOperationContext; }>