# `IO.ANSI.Table.SpecServer`
[🔗](https://github.com/RaymondLoranger/io_ansi_table/blob/main/lib/io/ansi/table/spec_server.ex#L1)

A server process that holds a table spec struct as its state.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `init`

```elixir
@spec init(IO.ANSI.Table.Spec.t()) :: {:ok, IO.ANSI.Table.Spec.t()}
```

# `start_link`

```elixir
@spec start_link(IO.ANSI.Table.Spec.t()) :: GenServer.on_start()
```

Spawns a table `spec` server process to be registered via a spec name.

# `via`

```elixir
@spec via(String.t()) :: {:via, Registry, tuple()}
```

Allows to register or look up a table spec server process via a `spec name`.

---

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