# Function: httpBatchStreamLink()

> 

> **httpBatchStreamLink**\<`TRouter`\>(`opts`): [`TRPCLink`](https://trpc.io/docs/typedoc/react-query/index/type-aliases/TRPCLink.md)\<`TRouter`\>

Defined in: packages/client/dist/index.d.mts:282

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`](https://trpc.io/docs/typedoc/react-query/index/type-aliases/HTTPBatchStreamLinkOptions.md)\<`TRouter`\[`"_def"`\]\[`"_config"`\]\[`"$types"`\]\> |

## Returns

[`TRPCLink`](https://trpc.io/docs/typedoc/react-query/index/type-aliases/TRPCLink.md)\<`TRouter`\>

## See

https://trpc.io/docs/client/links/httpBatchStreamLink
