> ## Documentation Index
> Fetch the complete documentation index at: https://krono.fabianpiper.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Reconnect

> Getter and setter for reconnection strategy.

## Import

```ts theme={null}
import { Orderbook } from '@krono/core'
```

## Usage

Configures how the orderbook behaves when the connection drops.

```ts theme={null}
orderbook.reconnect = {
  enabled: true,
  maxAttempts: 5,
  delayMs: 2000
}
```

## Type

```ts theme={null}
{
  enabled: boolean;
  maxAttempts: number;
  delayMs: number;
}
```
