# `Electric.Connection.Manager.State`
[🔗](https://github.com/electric-sql/electric/tree/%40core/sync-service%401.6.2/packages/sync-service/lib/electric/connection/manager.ex#L50)

# `phase`

```elixir
@type phase() :: :connection_setup | :running
```

# `step`

```elixir
@type step() ::
  {:start_admin_pool, nil}
  | {:start_admin_pool, :connecting}
  | {:start_replication_client, nil}
  | {:start_replication_client, :acquiring_lock}
  | {:start_replication_client, :connecting}
  | {:start_replication_client, :configuring_connection}
  | {:start_snapshot_pool, nil}
  | {:start_snapshot_pool, :connecting}
  | :start_shapes_supervisor
  | {:start_replication_client, :start_streaming}
  | :waiting_for_streaming_confirmation
  | :streaming
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
