# `Ankusa.SourceStore.Redis.TableOwner`
[🔗](https://github.com/jamescarr/ankusa/blob/ankusa_redis-v0.7.0/packages/ankusa_redis/lib/ankusa/source_store/redis.ex#L157)

Keeps the source mirror alive across a restart of the store's state
process: it creates the table and is its heir, the state process takes it
over with `hand_over/2`, and when that process dies the table comes back
here instead of being deleted.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `hand_over`

```elixir
@spec hand_over(atom(), pid()) :: :ok | {:error, :not_running | :owned_elsewhere}
```

Give the table to `pid` (the state process).

# `start_link`

```elixir
@spec start_link(keyword()) :: GenServer.on_start()
```

---

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