[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [local‑first/Shared](https://evolu.dev/docs/api-reference/common/local-first/Shared) › DisconnectedSyncConnection

Defined in: [packages/common/src/local-first/Shared.ts:599](https://github.com/evoluhq/evolu/blob/f082fdd974e25fa0eb1134e4b34f15b740af8fe2/packages/common/src/local-first/Shared.ts#L599)

No connection: a connection closed or failed, or the relay did not answer a
request in time. The transport reconnects by itself.

## Extends

- [`Typed`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed)\<`"Disconnected"`\>

## Properties

<a id="disconnectedat"></a>

### disconnectedAt

```ts
readonly disconnectedAt: number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative"> & Brand<"LessThan281474976710655"> & Brand<"Millis">;
```

Defined in: [packages/common/src/local-first/Shared.ts:601](https://github.com/evoluhq/evolu/blob/f082fdd974e25fa0eb1134e4b34f15b740af8fe2/packages/common/src/local-first/Shared.ts#L601)

When it disconnected. Failed reconnect attempts leave it unchanged.

---

<a id="error"></a>

### error

```ts
readonly error:
  | SyncTransportError
  | null;
```

Defined in: [packages/common/src/local-first/Shared.ts:609](https://github.com/evoluhq/evolu/blob/f082fdd974e25fa0eb1134e4b34f15b740af8fe2/packages/common/src/local-first/Shared.ts#L609)

The last error, or null. A close or an unanswered request records none, so
it can come from an earlier connection. Errors while reconnecting are
routine.

---

<a id="openedat"></a>

### openedAt

```ts
readonly openedAt:
  | number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative"> & Brand<"LessThan281474976710655"> & Brand<"Millis">
  | null;
```

Defined in: [packages/common/src/local-first/Shared.ts:603](https://github.com/evoluhq/evolu/blob/f082fdd974e25fa0eb1134e4b34f15b740af8fe2/packages/common/src/local-first/Shared.ts#L603)

When the last connection opened, or null when none has.

---

<a id="type"></a>

### type

```ts
readonly type: "Disconnected";
```

Defined in: [packages/common/src/Type.ts:15402](https://github.com/evoluhq/evolu/blob/f082fdd974e25fa0eb1134e4b34f15b740af8fe2/packages/common/src/Type.ts#L15402)

#### Inherited from

[`Typed`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed).[`type`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed#type)