# Function: retryLink()

> 

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

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

Retries failed operations. Subscriptions resume from the last tracked event
id.

## Type Parameters

| Type Parameter |
| ------ |
| `TInferrable` *extends* `InferrableClientTypes` |

## Parameters

| Parameter | Type |
| ------ | ------ |
| `opts` | `RetryLinkOptions`\<`TInferrable`\> |

## Returns

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

## See

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